Uhmmmmm ... I&#39;ve just realized that the whole pyqtSignature decorator is implemented in C++. Therefore I&#39;m afraid there&#39;s nothing much I can personally do regarding this issue. I&#39;m a C and Python programmer, but, unfortunately absolutely no C++ :(<br>
<br>I do hope though that maybe someone can implement the functionality we&#39;ve been discussing,<br><br>Thank you.<br><br><div><span class="gmail_quote">2008/3/15, Rocco Orlando Rossi &lt;<a href="mailto:rocco.rossi@gmail.com">rocco.rossi@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes. That would really be nice.<br><br>If you think it&#39;s possible to make it work, I&#39;ll give it a try myself, although my own experience with decorators is at the moment rather limited :) But I&#39;m doing some study in that respect.<br>

<br>It would definitely be cool if this functionality were implemented, because I have the feeling it&#39;s not the kind of rare need that comes up only once in a while.<br><br><br><div><span class="gmail_quote">2008/3/15, Phil Thompson &lt;<a href="mailto:phil@riverbankcomputing.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">phil@riverbankcomputing.com</a>&gt;:</span><div>
<span class="e" id="q_118b213490395470_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Saturday 15 March 2008, Rocco Orlando Rossi wrote:<br> &gt; Thanks.<br> &gt;<br> &gt; OK. I understand that.<br> &gt;<br> &gt; And what if the decorator @QtCore.pyqtSignature were modified to accept<br> &gt; more than one argument, so that you could do something like the following?<br>

 &gt;<br> &gt; @QtCore.pyqtSignature(&quot;on_pushButton1_clicked()&quot;,<br> &gt; &quot;on_pushButton2_clicked()&quot;)<br> &gt;&nbsp;&nbsp;&nbsp;&nbsp; def on_pushButton_clicked(self):<br> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print &quot;Hi Man!&quot;<br> &gt;<br>

 &gt; Perhaps this is something that can be achieved.<br> &gt;<br> &gt; What do you think?<br> <br> <br>That may break other uses of pyqtSignature(). However I don&#39;t see why the<br> following shouldn&#39;t be made to work...<br>

 <br>&nbsp;&nbsp;&nbsp;&nbsp;@QtCore.pyqtSignature(&quot;on_pushButton1_clicked()&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp;@QtCore.pyqtSignature(&quot;on_pushButton2_clicked()&quot;)<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;def on_pushButton_clicked(self):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print &quot;Hi Man!&quot;<br>

 <br> <br>Phil<br> <br>_______________________________________________<br> PyQt mailing list&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:PyQt@riverbankcomputing.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">PyQt@riverbankcomputing.com</a><br>
 <a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
 </blockquote></span></div></div><br><br clear="all"><div><span class="e" id="q_118b213490395470_3"><br>-- <br>Rocco Rossi<br><br>-----------------------------------------------------------------<br><br>&quot;Alcuni vedono le cose come sono e dicono perché? Io sogno cose non ancora esistite e chiedo perché no?&quot;<br>

<br>G.B. Shaw
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Rocco Rossi<br><br>-----------------------------------------------------------------<br><br>&quot;Alcuni vedono le cose come sono e dicono perché? Io sogno cose non ancora esistite e chiedo perché no?&quot;<br>
<br>G.B. Shaw