Hi Andreas,<br><br>Thank you for answering my off-topic question.<br><br>I think I have&nbsp; pinpointed the problem: I am subclassing the class generated by Pyuic4. Now I have to do multiple inheritance inheriting both the Qt base class (QWidget) and auto-generated ui class. So I got confused with this new way of subclassing.
<br><br>I got it to work now.<br><br><br>Thanks again,<br><br><br><br><br><div><span class="gmail_quote">On 10/25/07, <b class="gmail_sendername">Andreas Pakulat</b> &lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 25.10.07 10:54:03, Flavio Coelho wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I am porting an app from pyqt3 to pyqt4 but my signals are, apparently being
<br>&gt; ignores instead of being sent to the appropriate slots. Here is my<br>&gt; connection code:<br>&gt; QtCore.QObject.connect(self.editButton,QtCore.SIGNAL(&quot;released()&quot;),<br>&gt; self.editScript)<br>&gt;<br>
&gt; Any Idea why this is happening?<br><br>Usually&nbsp;&nbsp;you&#39;d use the clicked() signal instead of the released()<br>signal.<br><br>Anyway, you can check wether the connection succeeded by checking the<br>return value of connect() and also by watching the console output of
<br>your application, if the connection fails then QObject will output a<br>message saying so including some hints as to why it failed.<br><br>Apart from that you&#39;d need to post a minimal working example that<br>reproduces the problem, from the line above I can&#39;t see anything wrong.
<br><br>Andreas<br><br>PS: And this is actually the wrong list, PyQt4 questions should be<br>directed to pyqt &lt;at&gt; riverbank...<br><br>--<br>Your heart is pure, and your mind clear, and your soul devout.<br>_______________________________________________
<br>Eric mailing list<br><a href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/eric">http://www.riverbankcomputing.com/mailman/listinfo/eric
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Flávio Codeço Coelho<br>----------------------------------------------------------------<br>&quot;My grandfather once told me that there were two kinds of people: those who do the work and those who take the credit. He told me to try to be in the first group; there was much less competition.&quot;
<br>Indira Gandhi<br>====================================<br>registered Linux user # 386432<br>get counted at <a href="http://counter.li.org">http://counter.li.org</a><br>----------------------------------------------------------------