- `QSizePolicy.(\w+)` -> `QSizePolicy.Policy.$1`
- ``Qt\.(AlignCenter|AlignHCenter|AlignVCenter|AlignLeft|AlignTop|AlignBottom|AlignJustify|AlignBaselin)
-> `Qt.AlignmentFlag.$1`
- `QLineEdit.Password` -> `QLineEdit.EchoMode.Password`
- `Qt\.(\w+)Focus([^\w])` -> `Qt\.FocusPolicy.$1Focus$2`
There are a lot more changes required to switch to the Qt6 API, but we don't need to do it all in a single commit thanks to qtpy providing the Qt6 compatibility layer for Qt5
These instances are the ones related to D18338
Depends on D18338