Hi,
I have tried to uncheck a QRadioButton but I couldn't I used setChecked(flase) but no use.
Is there a way to uncheck it so a group of QRadioButton(s) became unchecked all of them.
Thanks
Printable View
Hi,
I have tried to uncheck a QRadioButton but I couldn't I used setChecked(flase) but no use.
Is there a way to uncheck it so a group of QRadioButton(s) became unchecked all of them.
Thanks
see
bool autoExclusive () const
void setAutoExclusive ( bool )
Thank you but this is not the soluation I am looking for.
I have a group of QRadioButton the user shoul chose one of them. And I have a QPushButton named "Reset" this QPushButton shoud reset the group of QRadioButton to uncheck all of them so there is no one checked.
Thanks in advanced
may be i do not understand you.
Quote:
exclusive : bool
This property holds whether the button group is exclusive.
If this property is true then only one button in the group can be checked at any given time. The user can click on any button to check it, and that button will replace the existing one as the checked button in the group.
In an exclusive group, the user cannot uncheck the currently checked button by clicking on it; instead, another button in the group must be clicked to set the new checked button for that group.
By default, this property is true.
Access functions:
bool exclusive () const
void setExclusive ( bool )
example:
sorry for not optimized
Yes this is what I am looking for
Thank you,
Mohammad