<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Flavio Coelho</b> &lt;<a href="mailto:fccoelho@gmail.com">fccoelho@gmail.com</a>&gt;<br>Date: Nov 1, 2007 1:11 PM
<br>Subject: Re: [PyQt] QTreeWidget<br>To: alteo_gange &lt;<a href="mailto:romanocaldoni@free.fr">romanocaldoni@free.fr</a>&gt;<br><br></span>Thanks,<br><br>I found the problem:<br><br>I was trying to ignore the C++ signature so the signals didn&quot;t connect to the slots:
<br><br>@QtCore.pyqtSignature(&quot;&quot;)<br>def on_treeWidget_itemDoubleClicked(self, item, col):
<br>&nbsp;&nbsp; ...<br><br>This works for some signals but for this, I had to do it like this:<br><br>@QtCore.pyqtSignature(&quot;QTreeWidgetItem *, int&quot;)<br>
def on_treeWidget_itemDoubleClicked(self, item, col):<br>
&nbsp;&nbsp; ...<br>
<br>that fixed my problem<br><br>thanks,<br><br>Flávio<div><span class="e" id="q_115fbfb87b54569a_1"><br><br><div><span class="gmail_quote">On 11/1/07, <b class="gmail_sendername">alteo_gange</b> &lt;<a href="mailto:romanocaldoni@free.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
romanocaldoni@free.fr</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;">The following signals works with me:<br><br>&quot;itemClicked(QTreeWidgetItem *,int)&quot;
<br>&quot;itemPressed(QTreeWidgetItem *,int)&quot;<br>&quot;clicked(const QModelIndex)&quot;<br>&quot;currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)&quot;<br><br>--<br>alteo_gange<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></div><br><br clear="all"><br></span></div><div><span class="e" id="q_115fbfb87b54569a_2">-- <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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://counter.li.org
</a><br>----------------------------------------------------------------
</span></div><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>----------------------------------------------------------------