List of all members.
Detailed Description
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.
Constructor & Destructor Documentation
| BoolInpSpec::BoolInpSpec |
( |
bool |
yesno, |
|
|
const char * |
truetxt = sKey::Yes, |
|
|
const char * |
falsetxt = sKey::No, |
|
|
bool |
isset = true | |
|
) |
| | |
Member Function Documentation
| bool BoolInpSpec::checked |
( |
|
) |
const |
| virtual DataInpSpec* BoolInpSpec::clone |
( |
|
) |
const [virtual] |
| virtual bool BoolInpSpec::getBoolValue |
( |
int |
idx = 0 |
) |
const [virtual] |
| virtual bool BoolInpSpec::getDefaultBoolValue |
( |
int |
idx = 0 |
) |
const [virtual] |
| bool BoolInpSpec::isSet |
( |
|
) |
const [inline] |
| virtual bool BoolInpSpec::isUndef |
( |
int |
idx = 0 |
) |
const [virtual] |
| void BoolInpSpec::setChecked |
( |
bool |
yesno |
) |
|
| virtual void BoolInpSpec::setDefaultValue |
( |
bool |
, |
|
|
int |
idx = 0 | |
|
) |
| | [virtual] |
| void BoolInpSpec::setSet |
( |
bool |
yesno = true |
) |
[inline] |
| virtual bool BoolInpSpec::setText |
( |
const char * |
s, |
|
|
int |
idx = 0 | |
|
) |
| | [virtual] |
| void BoolInpSpec::setTrueFalseTxt |
( |
bool |
, |
|
|
const char * |
| |
|
) |
| | |
| virtual void BoolInpSpec::setValue |
( |
bool |
, |
|
|
int |
idx = 0 | |
|
) |
| | [virtual] |
| virtual const char* BoolInpSpec::text |
( |
int |
idx = 0 |
) |
const [virtual] |
| const char* BoolInpSpec::trueFalseTxt |
( |
bool |
tf = true |
) |
const |
Member Data Documentation