[PyQt] Updated PyQt Documents - Feedback Please

Detlev Offenbach detlev at die-offenbachs.de
Sat Sep 29 11:30:46 BST 2018


while talking about enums. I would like to know, if anybody is about (or has 
done so) develop a tool to migrate old code to the new enum handling (maybe as 
a preparatory step for PyQt6).


Am Freitag, 28. September 2018, 23:48:45 CEST schrieb David Cortesi:
> The section on enums [0] needs two things. One, it badly needs to
> distinguish the relationship (or explicitly deny any relationship) to
> Python Enums [1]. The person who knows Python but little C++ might
> naturally expect to do settings.value('flag', type=IntEnum) (and indeed why
> not?)
> Two, a little example code would be a big help. What is the syntax for
> "specifying the scope of the enum"?
> [0] https://pyqt.readthedocs.io/en/latest/gotchas.html#enums
> [1] https://docs.python.org/3.6/library/enum.html

Detlev Offenbach
detlev at die-offenbachs.de

More information about the PyQt mailing list