Re: Signal on qt

2011-04-12 Thread Rafael Durán Castañeda
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

Signal on qt

2011-04-12 Thread luca72
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)