aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtWidgets
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-08-27 15:02:24 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-08-27 14:48:08 +0000
commita697423e4b5b37572a8a06a8904fc03b44d99f39 (patch)
tree7a9a386a3f5654c21db0ba3a582130c116f87464 /sources/pyside2/PySide2/QtWidgets
parent83a1fa436c8eb8b062d8c010867a7fd62557d6fb (diff)
Add ownership transfer to setGraphicsEffect
Task-number: PYSIDE-66 Change-Id: Ifec85a5305bc196b261818bbc1b9af16fc07c927 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/QtWidgets')
-rw-r--r--sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
index 3f8898c1..76b3dd1f 100644
--- a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
+++ b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
@@ -405,6 +405,11 @@
<modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)">
<modify-argument index="1" invalidate-after-use="yes"/>
</modify-function>
+ <modify-function signature="setGraphicsEffect(QGraphicsEffect*)">
+ <modify-argument index="1">
+ <parent index="this" action="add"/>
+ </modify-argument>
+ </modify-function>
<!-- ### These methods are internal on Qt. -->
<modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/>
<modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/>