[PyQt] SIGNAL from checkbox embedded in the QTreeWidgetItem?

simozack simozack at yahoo.it
Thu Nov 5 07:32:39 GMT 2009

2009/11/4 Piotr Byzia <piotr.byzia at gmail.com>:
> Hi,
> There is this email:
> http://www.riverbankcomputing.com/pipermail/pyqt/2009-October/024801.html
> Unfortunately, author did not post a follow-up post on how he got it done.
> I want to grab a signal from a checkbox added to the QTreeWidgetItem by the
> method: setCheckState(0, Qt.Checked)
> Could anyone help?

You can connect to the signal itemChanged(item, col) of the
QTreeWidget and check if the column 0 has checked or not.


More information about the PyQt mailing list