<br><br><div class="gmail_quote">On Thu, Nov 19, 2009 at 7:05 PM,  <span dir="ltr"><<a href="mailto:python-list-request@python.org">python-list-request@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>----------  ----------<br>From: Threader Slash <<a href="mailto:threaderslash@gmail.com">threaderslash@gmail.com</a>><br>To: <a href="mailto:python-list@python.org">python-list@python.org</a><br>Date: Thu, 19 Nov 2009 14:51:27 +1100<br>
Subject: Qt Python radiobutton: activate event<br>Hi Guys,<br><br>I am trying to get the choice made by the user on Python Qt with radiobutton.<br><br>QtCore.QObject.connect(self.radioButton1, QtCore.SIGNAL("toggled()"),self.radio_activateInput)<br>
QtCore.QObject.connect(self.radioButton2, QtCore.SIGNAL("toggled()"),self.radio_activateInput)<br>
<br>and that<br><br>QtCore.QObject.connect(self.performGroupBox, QtCore.SIGNAL("toggled()"),self.radio_activateInput)<br><br>But it didn't make anything when I click on the option.<br><br>Yes, I have enabled it:<br>

<br>self.radioButton1.setCheckable(True)<br>self.radioButton1.setChecked(True)<br>self.radioButton2.setCheckable(True)<br><br>Any suggestion?<br><input type="hidden"><input type="hidden"><div>
</div>
<br><br>---------- Forwarded message ----------<br></blockquote><div><br>Here is solution... now working:<br><br>QtCore.QObject.connect(self.radioButton1,QtCore.SIGNAL("toggled(bool)"),self.radio_activateInput)<br>
<br>when have the parameter bool included into toggled to signal, it worked.<br><br>ThreadeSlash<br> </div></div><input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"></div>