[PyQt] Updated PyQt Documents - Feedback Please

David Cortesi davecortesi at gmail.com
Fri Sep 28 22:48:45 BST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180928/a2b05fab/attachment.html>


More information about the PyQt mailing list