From 47efa2be5375cafd10d9dac6ff598c4fd83d3e77 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 27 Jul 2025 17:46:01 +0200 Subject: [PATCH] Sync qt_compat.py with main branch Signed-off-by: falkTX --- source/frontend/qt_compat.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/source/frontend/qt_compat.py b/source/frontend/qt_compat.py index 1c7262a1b..3cec424a1 100644 --- a/source/frontend/qt_compat.py +++ b/source/frontend/qt_compat.py @@ -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