aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2024-07-24 14:30:56 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2024-07-30 10:27:32 +0000
commitd23c162a5734bb5024fc4e10e85788a7385238de (patch)
treed291ebd34c8e841bda0563a12e7ac574e8ff6fec
parentdb0094c4653b70344d7261aef560cb29d501fc38 (diff)
pyi: fix QFormLayout.getLayoutPosition hint
Change-Id: I040044be236f83546424c8621d95a86a068cddeb Fixes: PYSIDE-2788 Pick-to: 6.7 6.5 6.2 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rw-r--r--sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
index 04fd14627..1b5103d20 100644
--- a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
+++ b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
@@ -2946,15 +2946,15 @@
</value-type>
<modify-function signature="getLayoutPosition(QLayout*,int*,QFormLayout::ItemRole*)const">
- <modify-argument index="0">
- <replace-type modified-type="PyObject"/>
- </modify-argument>
<modify-argument index="2">
<remove-argument/>
</modify-argument>
<modify-argument index="3">
<remove-argument/>
</modify-argument>
+ <modify-argument index="return" pyi-type="Tuple[int, PySide6.QtWidgets.QFormLayout.ItemRole]">
+ <replace-type modified-type="PyTuple"/>
+ </modify-argument>
<inject-code class="target" position="beginning" file="../glue/qtwidgets.cpp" snippet="qformlayout-fix-args" />
</modify-function>
<modify-function signature="getWidgetPosition(QWidget*,int*,QFormLayout::ItemRole*)const">