|
| BoolInpSpec (bool yesno, const uiString &truetxt=uiStrings::sYes(), const uiString &falsetxt=uiStrings::sNo(), bool isset=true) |
|
| BoolInpSpec (const BoolInpSpec &) |
|
bool | checked () const |
|
DataInpSpec * | clone () const override |
|
bool | getBoolValue (int idx=0) const override |
|
bool | getDefaultBoolValue (int idx=0) const override |
|
bool | isSet () const |
|
bool | isUndef (int idx=0) const override |
|
void | setChecked (bool yesno) |
|
void | setDefaultValue (bool, int idx=0) override |
|
void | setDefaultValue (const char *val, int idx=0) override |
|
void | setDefaultValue (double val, int idx=0) override |
|
void | setDefaultValue (float val, int idx=0) override |
|
void | setDefaultValue (int val, int idx=0) override |
|
void | setSet (bool yesno=true) |
|
bool | setText (const char *s, int idx=0) override |
|
void | setTrueFalseTxt (bool, const uiString &) |
|
void | setValue (bool, int idx=0) override |
|
void | setValue (double val, int idx=0) override |
|
void | setValue (float val, int idx=0) override |
|
void | setValue (int val, int idx=0) override |
|
void | setValue (od_int64 val, int idx=0) override |
|
const char * | text (int idx=0) const override |
|
uiString | trueFalseTxt (bool tf=true) const |
|
| DataInpSpec (const DataInpSpec &) |
|
| DataInpSpec (DataType) |
|
virtual | ~DataInpSpec () |
|
void | fillPar (IOPar &) const |
|
virtual float | getDefaultfValue (int idx=0) const |
|
virtual int | getDefaultIntValue (int idx=0) const |
|
virtual const char * | getDefaultStringValue (int idx=0) const |
|
virtual double | getDefaultValue (int idx=0) const |
|
virtual double | getDValue (int idx=0) const |
|
double | getdValue (int idx=0) const |
|
virtual float | getFValue (int idx=0) const |
|
float | getfValue (int idx=0) const |
|
virtual od_int64 | getInt64Value (int idx=0) const |
|
virtual int | getIntValue (int idx=0) const |
|
virtual bool | hasLimits () const |
|
virtual bool | isInsideLimits (int idx=0) const |
|
virtual const char * | name (int idx=0) const |
|
virtual int | nElems () const |
|
virtual DataInpSpec & | setName (const char *, int idx=0) |
|
DataType | type () const |
|
bool | usePar (const IOPar &) |
|
Specifications for boolean inputs.
This specifies a boolean input field. If the second char string is "" or NULL, then a checkbox will be created. Otherwise two connected radio buttons will do the job. Default will create two radio buttons "Yes" and "No". When calling setText("xx") on the resulting uiGenInput, it will try to set the boolean value according to the given true/false text's or "Yes"/"No". It does not change the underlying true/false texts.
<>