aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtGui
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2024-04-26 14:43:18 +0200
committerFriedemann Kleint <[email protected]>2024-05-06 10:57:31 +0200
commitb130a29e0c3a73a0000f748505de34fa5d998372 (patch)
tree2029447d62398a7d63777926dd5a3af01a1e00c1 /sources/pyside6/PySide6/QtGui
parent28d04cae204881392ddc0826a570d05ba82c5ee0 (diff)
shiboken6: Generate polymorphic bases into type discovery functions
In case of a chain QLabel->QWidget->QObject; QWidget should be marked as a polymorphic base and checked for example for functions returning a QWidget *. Change-Id: I44306d6635794119e6f18658a438e64160c5c41c Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Diffstat (limited to 'sources/pyside6/PySide6/QtGui')
-rw-r--r--sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
index dd17952f0..3eee63ba4 100644
--- a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
+++ b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
@@ -2572,7 +2572,7 @@
</extra-includes>
</primitive-type>
- <object-type name="QWindow" delete-in-main-thread="true">
+ <object-type name="QWindow" delete-in-main-thread="true" polymorphic-base="true">
<enum-type name="AncestorMode"/>
<enum-type name="Visibility"/>
<modify-function signature="raise()" rename="raise_"/>