Public Functions
QLRadioButton(QWidget* parent = nullptr) | |
QLStatePool* | status_states() const |
Protected Functions
bool | eventFilter(QObject* object, QEvent* event) override |
void | paintEvent(QPaintEvent* event) override |
Signals
void | clicked() |
Detailed Description
A QLRadioButton is a QWidget and a QLThemeable that provides the user with a button that can be switched on or off. Typically, in a group of radio buttons, only one radio button can be active at a time.
To enforce the idea that only one radio button can be active at a time, it is recommended to add related radio buttons to a QLRadioButtonPool.
Member Function Documentation
QLRadioButton(QWidget* parent = nullptr)
Constructs a radio button.
void clicked()
Signal
This signal is emitted whenever the button is pressed.
QLStatePool* status_states() const
Returns a pointer to the radio button's status state pool.