#include <YQCheckBox.h>
Inheritance diagram for YQCheckBox:

Public Member Functions | |
| YQCheckBox (QWidget *parent, const YWidgetOpt &opt, const YCPString &label, bool initiallyChecked) | |
| void | setEnabling (bool enabled) |
| long | nicesize (YUIDimension dim) |
| void | setSize (long newWidth, long newHeight) |
| void | setValue (const YCPValue &checked) |
| YCPValue | getValue () |
| void | setLabel (const YCPString &label) |
| virtual bool | setKeyboardFocus () |
| bool | isTristate () |
| void | setTristate (bool tristate) |
Protected Attributes | |
| QCheckBox * | _qt_checkbox |
| bool | _dont_care |
Private Slots | |
| void | stateChanged (int newState) |
|
||||||||||||||||||||
|
Constructor. |
|
|
Returns whether the checkbox is checked. This may return 'true' or 'false' or 'nil' for a tristate check box. Implements YCheckBox. |
|
|
Returns whether tristate condition is set ( i.e. neither on nor off ) |
|
|
Minimum size the widget should have to make it look and feel nice. Implements YWidget. |
|
|
Inherited from YWidget: Sets the enabled state of the widget. All new widgets are enabled per definition. Only enabled widgets can take user input. Reimplemented from YWidget. |
|
|
Accept the keyboard focus. Reimplemented from YWidget. |
|
|
Changes the label of the text entry. Reimplemented from YCheckBox. |
|
||||||||||||
|
Sets the new size of the widget. Reimplemented from YWidget. |
|
|
Set tristate condition |
|
|
Sets the checked-state of the checkbox Implements YCheckBox. |
|
|
Triggered when the on/off status is changed |
|
|
Flag that indicates tristate condition: neither on nor off |
|
|
Pointer to the qt widget that actually does the job |
1.4.4