diff options
| author | Christian Tismer <tismer@stackless.com> | 2020-10-14 09:59:10 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2020-10-27 13:13:46 +0000 |
| commit | db03fa66435949c4c75658bbdfdaacbeedfa0413 (patch) | |
| tree | 5c94ce063981982c7a50b3b190e758f202b063a3 /build_scripts/setup_runner.py | |
| parent | 1d044f467070a040713c9566a8a8de3a56c571e7 (diff) | |
feature-select: implement class properties
After implementing property objects for PySide, the static
properties (properties for static functions) were quite missing,
for instance from QtCore.QCoreApplication and
QtWidgets.QApplication .
This implementation uses the normal Python properties and derives
a PySide.ClassProperty class which works almost the same on classes.
The static methods had to be mutated to class methods explicitly.
That would be automated by PyType_Ready, but here we are doing this
after class initialization.
Task-number: PYSIDE-1019
Change-Id: Iabe00be18e25881cc7a97507b6fdae3e2d57ff7a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/setup_runner.py')
0 files changed, 0 insertions, 0 deletions
