Qt Python radiobutton: activate event
Threader Slash
threaderslash at gmail.com
Wed Nov 18 22:51:27 EST 2009
Hi Guys,
I am trying to get the choice made by the user on Python Qt with
radiobutton.
QtCore.QObject.connect(self.radioButton1,
QtCore.SIGNAL("toggled()"),self.radio_activateInput)
QtCore.QObject.connect(self.radioButton2,
QtCore.SIGNAL("toggled()"),self.radio_activateInput)
and that
QtCore.QObject.connect(self.performGroupBox,
QtCore.SIGNAL("toggled()"),self.radio_activateInput)
But it didn't make anything when I click on the option.
Yes, I have enabled it:
self.radioButton1.setCheckable(True)
self.radioButton1.setChecked(True)
self.radioButton2.setCheckable(True)
Any suggestion?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091119/1cb85de9/attachment-0001.html>
More information about the Python-list
mailing list