Question regarding enums and IntEnum/IntFlags

Nyall Dawson nyall.dawson at gmail.com
Fri Feb 16 21:30:46 GMT 2024


Hi list,

I'm wondering if there's a specific reason why some Qt enums are exposed as
IntEnum/IntFlags, and others not?

Specifically, I'm looking at Qt.ItemFlag (which I'd have expected to be an
IntFlags type) and Qt.CheckState (which I'd expected to be an IntEnum type).

Kind regards,
Nyall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240217/34beeab4/attachment.htm>


More information about the PyQt mailing list