[PyQt] Qt.CheckState inconsistency

Arve Knudsen arve.knudsen at gmail.com
Sat Aug 2 11:19:54 BST 2008

There is an inconsistency with regard to Qt.CheckState.
QCheckBox.stateChanged expresses the state as an integer, but this
integer can't be passed on to QCheckBox.setState, since it expects
type Qt.CheckState (enums and integers in C++ on the other hand are
interchangeable, no?). Kind of surprising.


More information about the PyQt mailing list