libyui-qt
2.43.3
|
Public Member Functions | |
YQCheckBox (YWidget *parent, const std::string &label, bool checked) | |
virtual | ~YQCheckBox () |
virtual YCheckBoxState | value () |
virtual void | setValue (YCheckBoxState state) |
virtual void | setLabel (const std::string &label) |
virtual void | setUseBoldFont (bool bold=true) |
virtual void | setEnabled (bool enabled) |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual bool | setKeyboardFocus () |
Definition at line 32 of file YQCheckBox.h.
YQCheckBox::YQCheckBox | ( | YWidget * | parent, |
const std::string & | label, | ||
bool | checked | ||
) |
Constructor.
Definition at line 41 of file YQCheckBox.cc.
|
virtual |
Destructor.
Definition at line 56 of file YQCheckBox.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 129 of file YQCheckBox.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 123 of file YQCheckBox.cc.
|
virtual |
Set enabled / disabled state.
Reimplemented from YWidget.
Definition at line 116 of file YQCheckBox.cc.
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 141 of file YQCheckBox.cc.
|
virtual |
Change the label (the text) on the RadioButton.
Reimplemented from YRadioButton.
Definition at line 99 of file YQCheckBox.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 135 of file YQCheckBox.cc.
|
virtual |
Use a bold font.
Reimplemented from YRadioButton.
Definition at line 106 of file YQCheckBox.cc.
|
virtual |
Set the CheckBox value (on/off/don't care).
Reimplemented from YCheckBox.
Definition at line 77 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 63 of file YQCheckBox.cc.