[Solved] How can I uncheck the qcheckbox?
I have created some checkboxes and when the user makes a choice and presses the button "ok", i want the checkboxes to be unchecked.
How can i do this?
florent.revelut last edited by
You can use the "setCheckState":http://doc.qt.nokia.com/4.6/qcheckbox.html#setCheckState method on your QCheckBox objects, in the code called when your button is clicked
JohanSolo last edited by
You can also use "setChecked":http://doc.qt.nokia.com/4.6/qabstractbutton.html#checked-propset from QAbstractButton.
thank you both