how to query/test the state of a qt widget?
raacampbell at gmail.com
raacampbell at gmail.com
Sun Jun 24 10:12:53 EDT 2007
> RTFM. The Qt-docs are extensive. And the QRadioButton-docs are pretty
> straight forward:
>
> http://doc.trolltech.com/3.3/qradiobutton.html#checked-prop
>
> So your code above should be
>
> if self.polPlotRadioButton.isChecked(): print "blah"
Thanks, that does indeed work.
Also, sorry, I have been trying to RTFM but I'm new to both Python and
Qt so not always sure what I'm looking for.
More information about the Python-list
mailing list