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. Arve