I'm trying to make my QTableWidget call some function when I change the values in a cell.
self.table = QtGui.QTableWidget()
tableItem = QtGui.QTableWidgetItem( str(attr.GetValue()) )
self.table.setItem(row, 1, tableItem )
QtCore.QObject.connect(self.table, QtCore.SIGNAL('currentItemChanged(QTableWidgetItem*, QTableWidgetItem*)'), someFunc)
My problem is that it calls the function as soon as I enter the cell before I've even made value changes to it. Also it calls the function twice for some weird reason.