From 5e731b27960848348250c9994f2c36c3a67c1565 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 4 Sep 2020 10:27:49 +0200 Subject: Add QKeyCombination Rewrite __repr__ of QKeySequence to use QDebug since its operator[] now returns QKeyCombination. Added by qtbase/25351dcc549f1daddf5e2ae8a242191174342a3e. Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Change-Id: Ia779b25385fff2192ff127e3898a365ed5e44863 Reviewed-by: Christian Tismer --- sources/pyside2/PySide2/QtGui/CMakeLists.txt | 1 + sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml | 7 ++----- sources/pyside2/PySide2/templates/gui_common.xml | 9 +++++++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/sources/pyside2/PySide2/QtGui/CMakeLists.txt b/sources/pyside2/PySide2/QtGui/CMakeLists.txt index e6d33d611..f8479fcdb 100644 --- a/sources/pyside2/PySide2/QtGui/CMakeLists.txt +++ b/sources/pyside2/PySide2/QtGui/CMakeLists.txt @@ -74,6 +74,7 @@ ${QtGui_GEN_DIR}/qinputmethodevent_attribute_wrapper.cpp ${QtGui_GEN_DIR}/qinputmethodevent_wrapper.cpp ${QtGui_GEN_DIR}/qinputmethodqueryevent_wrapper.cpp ${QtGui_GEN_DIR}/qintvalidator_wrapper.cpp +${QtGui_GEN_DIR}/qkeycombination_wrapper.cpp ${QtGui_GEN_DIR}/qkeyevent_wrapper.cpp ${QtGui_GEN_DIR}/qkeysequence_wrapper.cpp ${QtGui_GEN_DIR}/qlineargradient_wrapper.cpp diff --git a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml index 69a3032dd..f8716b727 100644 --- a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml +++ b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml @@ -336,6 +336,7 @@ + @@ -343,11 +344,7 @@ - - - - + diff --git a/sources/pyside2/PySide2/templates/gui_common.xml b/sources/pyside2/PySide2/templates/gui_common.xml index a139a5fe9..7cedd5af9 100644 --- a/sources/pyside2/PySide2/templates/gui_common.xml +++ b/sources/pyside2/PySide2/templates/gui_common.xml @@ -125,6 +125,15 @@ } + +