#include <YQRadioButtonGroup.h>
Inheritance diagram for YQRadioButtonGroup:
Public Member Functions | |
YQRadioButtonGroup (QWidget *parent, const YWidgetOpt &opt) | |
~YQRadioButtonGroup () | |
void | addRadioButton (YRadioButton *button) |
void | removeRadioButton (YRadioButton *button) |
void | setEnabling (bool enabled) |
void | setSize (long newWidth, long newHeight) |
Private Slots | |
void | radioButtonClicked (bool newState) |
Private Attributes | |
int | _recursionCounter |
|
Constructor. |
|
Cleans up |
|
Inherited from YRadioButtonGroup Adds a radio button to the button group. Calls YRadioButtonGroup::addRadioButton() as well. Reimplemented from YRadioButtonGroup. |
|
Triggered when one of the radio buttons changed state. This implements the radio box behaviour, i.e. unselects all but the last selected radio button. |
|
Inherited from YRadioButtonGroup Removes a radio button from the button group. Calls YRadioButtonGroup::removeRadioButton() as well. Reimplemented from YRadioButtonGroup. |
|
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. |
|
Resize this widget Reimplemented from YContainerWidget. |
|
Used to prevent infinite recursion due to signal race conditions |