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
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
Last edited by MIH1406; 22nd September 2009 at 01:41.
see
bool autoExclusive () const
void setAutoExclusive ( bool )
east or west home is best
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.
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 )
east or west home is best
MIH1406 (24th September 2009)
example:
sorry for not optimized
east or west home is best
MIH1406 (24th September 2009)
Yes this is what I am looking for
Thank you,
Mohammad
Bookmarks