Inheritance diagram for DzButtonGroup:

Properties | |
| Number | count |
| Boolean | exclusive |
| Boolean | radioButtonExclusive |
| Number | selected |
Constructors | |
| DzButtonGroup (DzWidget parent) | |
Methods | |
| Number | id (DzButton btn) |
| Number | insert (DzButton btn, Number id=-1) |
| void | remove (DzButton btn) |
Signals | |
| void | clicked (Number id) |
Signature: "clicked(int)" | |
| void | pressed (Number id) |
Signature: "pressed(int)" | |
| void | released (Number id) |
Signature: "released(int)" | |
| DzButtonGroup::DzButtonGroup | ( | DzWidget | parent | ) |
Creates a button group as a child of the given parent widget
| void DzButtonGroup::clicked | ( | Number | id | ) | [signal] |
Signature: "clicked(int)"
Emitted when a button in the group is pressed and released
btn in the group. -1 if btn is not a member of the group. Add the button to the group. This is only necessary if the button was not created as a child of the group.
btn in the group. | void DzButtonGroup::pressed | ( | Number | id | ) | [signal] |
Signature: "pressed(int)"
Emitted when a button in the group is pressed
| void DzButtonGroup::released | ( | Number | id | ) | [signal] |
Signature: "released(int)"
Emitted when a button in the group is released
| void DzButtonGroup::remove | ( | DzButton | btn | ) |
Remove the button from the group
The number of buttons in the group (read-only)
Whether the group is exclusive for all toggle buttons (the default is false)
Whether the group is exclusive for radio buttons (the default is true)
The checked button in an exclusive group