Since PyQt5 v5.11 (2018-06-19) Qt enums sould be accessed to their scope object rather than the top-level Qt, e. g.:
Qt.AlignVCenter -> Qt.AlignmentFlag.AlignVCenter
The behavior change will be blocker when moing to PyQt6.
An interesting work has been done for qutebrowser, let's use it too.
- Is referenced in