[PyQt] Pickup state of a QCheckBox in QTableWidget

starglider develop starglider.dev at gmail.com
Thu Jul 14 23:28:23 BST 2011


Hi,
I have a QTableWidget and in one column it as QCheckBox.
May problem is tha I want to pick the action of the user when he/she changes

the state of the checkBox.
Tryed
self.connect(self.mygrid,  SIGNAL("cellChanged(int,int)"), self.cellUpdate)
and
self.connect(self.mygrid,  SIGNAL("itemChanged(QTableWidgetItem*)"),
self.cellUpdate)

without any result, self.cellUpdate is not called.

Thank you in advance for your help.
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110714/a9ff8c48/attachment.html>


More information about the PyQt mailing list