Audacity  3.0.3
Public Member Functions | Public Attributes | List of all members
NumericTextCtrl::Options Struct Reference

#include <NumericTextCtrl.h>

Public Member Functions

 Options ()
 
OptionsAutoPos (bool enable)
 
OptionsReadOnly (bool enable)
 
OptionsMenuEnabled (bool enable)
 
OptionsInvalidValue (bool has, double v=-1.0)
 
OptionsFormat (const FormatStrings &f)
 
OptionsValue (bool has, double v)
 

Public Attributes

bool autoPos { true }
 
bool readOnly { false }
 
bool menuEnabled { true }
 
bool hasInvalidValue { false }
 
double invalidValue { -1.0 }
 
FormatStrings format {}
 
bool hasValue { false }
 
double value { -1.0 }
 

Detailed Description

Definition at line 178 of file NumericTextCtrl.h.

Constructor & Destructor Documentation

◆ Options()

NumericTextCtrl::Options::Options ( )
inline

Definition at line 188 of file NumericTextCtrl.h.

188 {}

Member Function Documentation

◆ AutoPos()

Options& NumericTextCtrl::Options::AutoPos ( bool  enable)
inline

◆ Format()

Options& NumericTextCtrl::Options::Format ( const FormatStrings f)
inline

Definition at line 196 of file NumericTextCtrl.h.

197  { format = f; return *this; }

References format.

◆ InvalidValue()

Options& NumericTextCtrl::Options::InvalidValue ( bool  has,
double  v = -1.0 
)
inline

Definition at line 193 of file NumericTextCtrl.h.

194  { hasInvalidValue = has, invalidValue = v; return *this; }

◆ MenuEnabled()

Options& NumericTextCtrl::Options::MenuEnabled ( bool  enable)
inline

Definition at line 192 of file NumericTextCtrl.h.

192 { menuEnabled = enable; return *this; }

Referenced by NyquistEffect::BuildEffectWindow(), ContrastDialog::ContrastDialog(), and EffectChangeSpeed::PopulateOrExchange().

Here is the caller graph for this function:

◆ ReadOnly()

Options& NumericTextCtrl::Options::ReadOnly ( bool  enable)
inline

Definition at line 191 of file NumericTextCtrl.h.

191 { readOnly = enable; return *this; }

Referenced by NyquistEffect::BuildEffectWindow(), ContrastDialog::ContrastDialog(), and EffectChangeSpeed::PopulateOrExchange().

Here is the caller graph for this function:

◆ Value()

Options& NumericTextCtrl::Options::Value ( bool  has,
double  v 
)
inline

Definition at line 198 of file NumericTextCtrl.h.

199  { hasValue = has, value = v; return *this; }

Member Data Documentation

◆ autoPos

bool NumericTextCtrl::Options::autoPos { true }

Definition at line 179 of file NumericTextCtrl.h.

◆ format

FormatStrings NumericTextCtrl::Options::format {}

Definition at line 184 of file NumericTextCtrl.h.

◆ hasInvalidValue

bool NumericTextCtrl::Options::hasInvalidValue { false }

Definition at line 182 of file NumericTextCtrl.h.

◆ hasValue

bool NumericTextCtrl::Options::hasValue { false }

Definition at line 185 of file NumericTextCtrl.h.

◆ invalidValue

double NumericTextCtrl::Options::invalidValue { -1.0 }

Definition at line 183 of file NumericTextCtrl.h.

◆ menuEnabled

bool NumericTextCtrl::Options::menuEnabled { true }

Definition at line 181 of file NumericTextCtrl.h.

◆ readOnly

bool NumericTextCtrl::Options::readOnly { false }

Definition at line 180 of file NumericTextCtrl.h.

◆ value

double NumericTextCtrl::Options::value { -1.0 }

Definition at line 186 of file NumericTextCtrl.h.


The documentation for this struct was generated from the following file:
NumericTextCtrl::Options::hasInvalidValue
bool hasInvalidValue
Definition: NumericTextCtrl.h:182
NumericTextCtrl::Options::menuEnabled
bool menuEnabled
Definition: NumericTextCtrl.h:181
NumericTextCtrl::Options::invalidValue
double invalidValue
Definition: NumericTextCtrl.h:183
NumericTextCtrl::Options::readOnly
bool readOnly
Definition: NumericTextCtrl.h:180
NumericTextCtrl::Options::autoPos
bool autoPos
Definition: NumericTextCtrl.h:179
NumericTextCtrl::Options::format
FormatStrings format
Definition: NumericTextCtrl.h:184
NumericTextCtrl::Options::hasValue
bool hasValue
Definition: NumericTextCtrl.h:185
NumericTextCtrl::Options::value
double value
Definition: NumericTextCtrl.h:186