[PyQt] SIGNAL from checkbox embedded in the QTreeWidgetItem?
simozack at yahoo.it
Thu Nov 5 07:32:39 GMT 2009
2009/11/4 Piotr Byzia <piotr.byzia at gmail.com>:
> There is this email:
> 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