<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Flavio Coelho</b> <<a href="mailto:fccoelho@gmail.com">fccoelho@gmail.com</a>><br>Date: Nov 1, 2007 1:11 PM
<br>Subject: Re: [PyQt] QTreeWidget<br>To: alteo_gange <<a href="mailto:romanocaldoni@free.fr">romanocaldoni@free.fr</a>><br><br></span>Thanks,<br><br>I found the problem:<br><br>I was trying to ignore the C++ signature so the signals didn"t connect to the slots:
<br><br>@QtCore.pyqtSignature("")<br>def on_treeWidget_itemDoubleClicked(self, item, col):
<br> ...<br><br>This works for some signals but for this, I had to do it like this:<br><br>@QtCore.pyqtSignature("QTreeWidgetItem *, int")<br>
def on_treeWidget_itemDoubleClicked(self, item, col):<br>
...<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> <<a href="mailto:romanocaldoni@free.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
romanocaldoni@free.fr</a>> 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>"itemClicked(QTreeWidgetItem *,int)"
<br>"itemPressed(QTreeWidgetItem *,int)"<br>"clicked(const QModelIndex)"<br>"currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)"<br><br>--<br>alteo_gange<br><br>_______________________________________________
<br>PyQt mailing list <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>"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."
<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>"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."
<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>----------------------------------------------------------------