Browse Source

Sync qt_compat.py with main branch

Signed-off-by: falkTX <falktx@falktx.com>
pull/2012/head
falkTX 3 months ago
parent
commit
47efa2be53
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 0 additions and 16 deletions
  1. +0
    -16
      source/frontend/qt_compat.py

+ 0
- 16
source/frontend/qt_compat.py View File

@@ -32,8 +32,6 @@ elif qt_config == 6:
QMessageBox,
QSizePolicy,
QStyle,
QToolButton,
QToolBar,
)

Qt.AlignCenter = Qt.AlignmentFlag.AlignCenter
@@ -62,16 +60,9 @@ elif qt_config == 6:
Qt.CrossCursor = Qt.CursorShape.CrossCursor
Qt.OpenHandCursor = Qt.CursorShape.OpenHandCursor
Qt.PointingHandCursor = Qt.CursorShape.PointingHandCursor
Qt.RightArrow = Qt.ArrowType.RightArrow
Qt.DownArrow = Qt.ArrowType.DownArrow
Qt.SizeAllCursor = Qt.CursorShape.SizeAllCursor
Qt.SizeHorCursor = Qt.CursorShape.SizeHorCursor

Qt.TextSelectableByMouse = Qt.TextInteractionFlag.TextSelectableByMouse

Qt.ToolButtonIconOnly = Qt.ToolButtonStyle.ToolButtonIconOnly
Qt.ToolButtonTextBesideIcon = Qt.ToolButtonStyle.ToolButtonTextBesideIcon

Qt.black = Qt.GlobalColor.black
Qt.blue = Qt.GlobalColor.blue
Qt.cyan = Qt.GlobalColor.cyan
@@ -131,13 +122,6 @@ elif qt_config == 6:
Qt.Key_X = Qt.Key.Key_X
Qt.Key_Y = Qt.Key.Key_Y
Qt.Key_Z = Qt.Key.Key_Z
Qt.Key_Space = Qt.Key.Key_Space
Qt.Key_Enter = Qt.Key.Key_Enter
Qt.Key_Return = Qt.Key.Key_Return
Qt.Key_PageUp = Qt.Key.Key_PageUp
Qt.Key_PageDown = Qt.Key.Key_PageDown
Qt.Key_Home = Qt.Key.Key_Home
Qt.Key_End = Qt.Key.Key_End

Qt.AltModifier = Qt.KeyboardModifier.AltModifier
Qt.ControlModifier = Qt.KeyboardModifier.ControlModifier


Loading…
Cancel
Save