[PyKDE] Using Signal & Slot
Eddy Setyawan
eddy.setyawan at yahoo.com
Fri Jul 7 20:51:16 BST 2006
Hello,
i'm new with python and pyqt so sorry for my basic
question
how to connect a C++ signal that have an object
parameter i.e: currentCellChanged(QTableWidgetItem
*,QTableWidgetItem *) to python slot ??
i have try like code below
self.connect(self.ui.tableDays,QtCore.SIGNAL("currentItemChanged(QTableWidgetItem,
QTableWidgetItem)"),self.tableDaysItemChanged)
the result nothing happen, in fact when i try to use
other signal with int it work, i have also try this
code
self.connect(self.ui.tableDays,QtCore.SIGNAL("currentItemChanged(QtGui.QTableWidgetItem,
QtGui.QTableWidgetItem)"),self.tableDaysItemChanged)
same result
when i run it nothing error message at terminal
thx for any respons
More information about the PyQt
mailing list