libyui-qt
2.52.2
|
Public Member Functions | |
YQCheckBox (YWidget *parent, const std::string &label, bool checked) | |
Constructor. | |
virtual | ~YQCheckBox () |
Destructor. | |
virtual YCheckBoxState | value () |
Get the current value: More... | |
virtual void | setValue (YCheckBoxState state) |
Set the CheckBox value (on/off/don't care). More... | |
virtual void | setLabel (const std::string &label) |
Change the label (the text) on the RadioButton. More... | |
virtual void | setUseBoldFont (bool bold=true) |
Use a bold font. More... | |
virtual void | setEnabled (bool enabled) |
Set enabled / disabled state. More... | |
virtual int | preferredWidth () |
Preferred width of the widget. More... | |
virtual int | preferredHeight () |
Preferred height of the widget. More... | |
virtual void | setSize (int newWidth, int newHeight) |
Set the new size of the widget. More... | |
virtual bool | setKeyboardFocus () |
Accept the keyboard focus. More... | |
Definition at line 32 of file YQCheckBox.h.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 130 of file YQCheckBox.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 124 of file YQCheckBox.cc.
|
virtual |
Set enabled / disabled state.
Reimplemented from YWidget.
Definition at line 117 of file YQCheckBox.cc.
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 142 of file YQCheckBox.cc.
|
virtual |
Change the label (the text) on the RadioButton.
Reimplemented from YRadioButton.
Definition at line 100 of file YQCheckBox.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 136 of file YQCheckBox.cc.
|
virtual |
Use a bold font.
Reimplemented from YRadioButton.
Definition at line 107 of file YQCheckBox.cc.
|
virtual |
Set the CheckBox value (on/off/don't care).
Reimplemented from YCheckBox.
Definition at line 78 of file YQCheckBox.cc.
|
virtual |
Get the current value:
YCheckBox_on CheckBox is checked YCheckBox_off CheckBox is unchecked
YCheckBox_dont_care tri-state: CheckBox is greyed out, neither checked nor unchecked
Reimplemented from YCheckBox.
Definition at line 64 of file YQCheckBox.cc.