libyui-qt
2.49.2
|
Public Member Functions | |
YQRadioButton (YWidget *parent, const std::string &label, bool checked) | |
Constructor. | |
virtual bool | value () |
Return the "checked" state of the RadioButton. More... | |
virtual void | setValue (bool checked) |
Set the "checked" state of the RadioButton. 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... | |
Protected Slots | |
void | changed (bool newState) |
Triggered when the RadioButton is toggled. | |
bool | eventFilter (QObject *obj, QEvent *event) |
Redirect events to this object. | |
Definition at line 35 of file YQRadioButton.h.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 91 of file YQRadioButton.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 85 of file YQRadioButton.cc.
|
virtual |
Set enabled / disabled state.
Reimplemented from YWidget.
Definition at line 133 of file YQRadioButton.cc.
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 140 of file YQRadioButton.cc.
|
virtual |
Change the label (the text) on the RadioButton.
Reimplemented from YRadioButton.
Definition at line 126 of file YQRadioButton.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 97 of file YQRadioButton.cc.
|
virtual |
Use a bold font.
Reimplemented from YRadioButton.
Definition at line 75 of file YQRadioButton.cc.
|
virtual |
Set the "checked" state of the RadioButton.
Reimplemented from YRadioButton.
Definition at line 109 of file YQRadioButton.cc.
|
virtual |
Return the "checked" state of the RadioButton.
Reimplemented from YRadioButton.
Definition at line 103 of file YQRadioButton.cc.