Group of radio buttons used for selecting an item.
More...
#include <radioselector.hpp>
|
void | selected (int index) |
| Emitted when a radio button is selected.
|
|
|
| RadioSelector (QWidget *parent=nullptr) |
| Construct a new Radio Selector object.
|
|
void | set_count (int count) |
| Set the count of radio buttons.
|
|
void | set_current (int index) |
| Set the selected index (do not trig the signal).
|
|
Group of radio buttons used for selecting an item.
◆ RadioSelector()
tde::widgets::RadioSelector::RadioSelector |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Construct a new Radio Selector object.
- Parameters
-
◆ selected
void tde::widgets::RadioSelector::selected |
( |
int |
index | ) |
|
|
signal |
Emitted when a radio button is selected.
- Parameters
-
index | Index of the selected button. |
◆ set_count()
void tde::widgets::RadioSelector::set_count |
( |
int |
count | ) |
|
Set the count of radio buttons.
- Parameters
-
count | Number of radio buttons. |
◆ set_current()
void tde::widgets::RadioSelector::set_current |
( |
int |
index | ) |
|
Set the selected index (do not trig the signal).
- Parameters
-
index | Index of the selected button. |
The documentation for this class was generated from the following files: