I don't know what are you trying with this for, but I think you may be connecting signal to a combo_test and after that changing combo_test, losing connection, but I'm not really sure. Anyway, this is a python list for PyQt (I think you are using it) you should ask in PyQt list.<br>
<br><div class="gmail_quote">2011/4/12 luca72 <span dir="ltr"><<a href="mailto:lucaberto@libero.it">lucaberto@libero.it</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
hello i have this:<br>
def mytest(self):<br>
    for a in xrange(self.tableWidget.rowCount()):<br>
            self.combo_test = QtGui.QComboBox()<br>
            self.connect(self.combo_test,<br>
QtCore.SIGNAL("currentIndexChanged(int)"), self.metto_test)<br>
            self.combo_test.addItems(self.lista_def)<br>
            self.tableWidget.setCellWidget(a, 4, self.combo_test)<br>
def metto_test(self, index):<br>
    print index<br>
<br>
I he no connection what is wrong?<br>
<br>
Thanks<br>
<br>
Luca<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>