[Qt-interest] How to Uncheck the Radio Button

Scott Aron Bloom Scott.Bloom at sabgroup.com
Mon Jun 22 17:44:06 CEST 2009


If you have exclusive buttons, where one must be checked at all times...
you cant uncheck the only checked button...

 

 

With these hints.. you can read the documentation, and figure out the
code you need to solve the problem

 

Scott

 

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Sai Chandra
Sent: Sunday, June 21, 2009 9:34 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] How to Uncheck the Radio Button

 


hi All, 
     I have a code where I am zooming the image and before that a group
box appears and I select zoom for 200%. Then it zooms fine. IF I click
zoom out and then again click zoom in  the dialog is not getting
prompted as that radio button is still remaining checked and it is
taking that value. So, I have used 
radiobutton->setChecked(false); method. But the radio button is not
getting unchecked. Is there any other way of unchecking? 


Thank You

Regards,

Sai Chandra G.V,
PES,
L&T Infotech Ltd,
Plot No 25-31,EPIP Phase II,
KIADB Industrial Area,Whitefield,
BANGALORE-66,INDIA
Mobile:+91 9900200782
Office: 080-66242639


Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com <http://www.lntinfotech.com/> 

This Document is classified as: 

[X]L&T Infotech Proprietary   [ ]L&T Infotech Confidential   [ ]L&T
Infotech Internal Use Only   [ ]L&T Infotech General Business   

This Email may contain confidential or privileged information for the
intended recipient (s) If you are not the intended recipient, please do
not use or disseminate the information, notify the sender and delete it
from your system. 
______________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090622/a14ce6b8/attachment.html 


More information about the Qt-interest-old mailing list