aboutsummaryrefslogtreecommitdiffstats
path: root/examples/scriptableapplication/pythonutils.cpp
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-01-28 15:17:49 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-29 17:22:48 +0000
commit3c55228a2c3d8938a83f34e6f430f392792ea887 (patch)
tree024cc588cdd12f3c4fc3b615dae5b2761e62cbf6 /examples/scriptableapplication/pythonutils.cpp
parent071a90d8e6d4b2642531957ab8201b6c3376f258 (diff)
feature: delete setter after creating property only if standard
Some features like QWidget.size are defined by Qt with a non-standard setter name. For size, the standard setter name would be setSize, and in the property creation process this setter would be deleted. We changed rules in this way: If a setter name is non-standard (like resize), the setter will not be removed but still can be used. Actually it would make more sense if "size" was a read-only property. Task-number: PYSIDE-1019 Change-Id: I9ded7e9c1dbd2932aa4c5616385b90ed673bfaee Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit e675a51ce48875800c1f9137cedd49144c62af58) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions