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.

2011/4/12 luca72 <lucabe...@libero.it>

> hello i have this:
> def mytest(self):
>    for a in xrange(self.tableWidget.rowCount()):
>            self.combo_test = QtGui.QComboBox()
>            self.connect(self.combo_test,
> QtCore.SIGNAL("currentIndexChanged(int)"), self.metto_test)
>            self.combo_test.addItems(self.lista_def)
>            self.tableWidget.setCellWidget(a, 4, self.combo_test)
> def metto_test(self, index):
>    print index
>
> I he no connection what is wrong?
>
> Thanks
>
> Luca
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list
  • Signal on qt luca72
    • Re: Signal on qt Rafael Durán Castañeda

Reply via email to