How to find enum's in PyQt6?

Barry Scott barry at barrys-emacs.org
Fri Jul 8 16:13:53 BST 2022


I've ported Barry's Emacs to PyQt6 and managed to track down all the enums that it uses.

But I'm not finding the enums that SCM Workbench uses.

How do you suggest I can find the enums without asking the list each time.

For example I'm current looking for these symbols from PyQt5 for PyQt6:

QtWidgets.QAction.NoRole
QtCore.Qt.UserRole

But I am bound to need to know how to port a lot more.

I've used introspection in the past to track down symbols but that is
not yielding results yet.


Barry



More information about the PyQt mailing list