aboutsummaryrefslogtreecommitdiffstats
path: root/tools/example_gallery/main.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2025-11-03 20:28:30 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-12-16 12:32:45 +0100
commit836b29c9992cec672f87b2ff5b572e1450dfe418 (patch)
tree3ab27607f593f26f1be88b3d1667ca737dac029a /tools/example_gallery/main.py
parent771dfacde200beb1f0ae1a7639ceee4cb9d8f8d5 (diff)
libpyside: Avoid building and parsing argument tuples when copying propertiesHEADdev
The code creates a copy of the Property for each of the @setter and similar decorators to ensure that modifications of a property in a subclass remain local to the subclass. Refactor the helper function to pass a clone of the PySidePropertyPrivate to the tp_alloc/tp_init using the previously introduced capsule mechanism instead of building and parsing argument tuples. Task-number: PYSIDE-3227 Change-Id: I53e841138161304faec34609dc2c6491027dbdab Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'tools/example_gallery/main.py')
0 files changed, 0 insertions, 0 deletions