|
| BoolInpSpec (bool yesno, const char *truetxt, const char *falsetxt, bool isset=true) |
|
| BoolInpSpec (bool yesno, const uiString &truetxt=uiStrings::sYes(), const uiString &falsetxt=uiStrings::sNo(), bool isset=true) |
|
| BoolInpSpec (const BoolInpSpec &) |
|
bool | checked () const |
|
virtual DataInpSpec * | clone () const |
|
virtual bool | getBoolValue (int idx=0) const |
|
virtual bool | getDefaultBoolValue (int idx=0) const |
|
bool | isSet () const |
|
virtual bool | isUndef (int idx=0) const |
|
void | setChecked (bool yesno) |
|
virtual void | setDefaultValue (bool, int idx=0) |
|
virtual void | setDefaultValue (const char *val, int idx=0) |
|
virtual void | setDefaultValue (double val, int idx=0) |
|
virtual void | setDefaultValue (float val, int idx=0) |
|
virtual void | setDefaultValue (int val, int idx=0) |
|
void | setSet (bool yesno=true) |
|
virtual bool | setText (const char *s, int idx=0) |
|
void | setTrueFalseTxt (bool yn, const char *txt) |
|
void | setTrueFalseTxt (bool, const uiString &) |
|
virtual void | setValue (bool, int idx=0) |
|
virtual void | setValue (double val, int idx=0) |
|
virtual void | setValue (float val, int idx=0) |
|
virtual void | setValue (int val, int idx=0) |
|
virtual void | setValue (od_int64 val, int idx=0) |
|
virtual const char * | text (int idx=0) const |
|
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.
<>