Script wrapper for QButtonGroup.
Inherits :
Inherited By : DzHButtonGroup (deprecated) and DzVButtonGroup (deprecated)
DAZ Script |
---|
DzButtonGroup ( DzWidget parent ) |
DAZ Script | |
---|---|
void | addButton ( DzButton button ) |
void | addButton ( DzButton button, Number id ) |
DzButton | button ( Number id ) |
Array | buttons () |
DzButton | checkedButton () |
Number | id ( DzButton button ) |
Number | insert ( DzButton button, Number id=-1 ) |
void | removeButton ( DzButton button ) |
Deprecated | |
void | remove ( DzButton button ) |
Provides an abstract container that manages the states of DzButton instances placed within it - it does not provide a visual representation.
See Also:
Holds the number of buttons in this group (Read Only)
Holds whether or not this group is exclusive for all toggle buttons (the default is false)
Boolean : radioButtonExclusive
Holds whether or not this group is exclusive for radio buttons (the default is true)
Holds the checked button in an exclusive group
void : addButton( DzButton button )
Adds the specified button to this group. This is only necessary if the button was not created as a child of the group.
Parameter(s):
void : addButton( DzButton button, Number id )
Adds the specified button to this group with the specified id. This is only necessary if the button was not created as a child of the group.
Parameter(s):
DzButton : button( Number id )
Parameter(s):
Return Value:
Since:
Return Value:
Return Value:
Since:
Number : id( DzButton button )
Parameter(s):
Return Value:
Number : insert( DzButton button, Number id=-1 )
Inserts the specified button into this group, with the specified id. This is only necessary if the button was not created as a child of the group.
Parameter(s):
Return Value:
button
in the group.void : removeButton( DzButton button )
Removes the specified button from this group.
Parameter(s):
void : remove( DzButton button )
Deprecated
Exists only to keep old code working. Do not use in new code. Use removeButton() instead.
Signature:“clicked(int)”
Emitted when a button in the group is pressed and released
Signature:“pressed(int)”
Emitted when a button in the group is pressed
Signature:“released(int)”
Emitted when a button in the group is released