aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/support/generate_pyi.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-05-27 15:08:45 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-06-01 16:17:41 +0200
commit869ae24b2da002a3a02e7d2bbecef42d08772be8 (patch)
treeb6d928cde24b3b530a8b1a53a4b668d0dc325bac /sources/pyside6/PySide6/support/generate_pyi.py
parent4a229aca8f8347c470f174f1290731175584b8c4 (diff)
qtpy2cpp: Improve construction of Qt classes
Check if a variable assignment is likely a construction of a Qt class. Add some smartness there, construct some classes on stack and add "new" for the others. Store stack variables per function scope in a list for future use. Task-number: PYSIDE-1945 Pick-to: 6.3 Change-Id: Id71d1a8c14e57f3bfaf32fc202b260d390589382 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/support/generate_pyi.py')
0 files changed, 0 insertions, 0 deletions