aboutsummaryrefslogtreecommitdiffstats
path: root/examples/gui/rhiwindow/main.py
Commit message (Collapse)AuthorAgeFilesLines
* type hints: Fix some typing bugs for mypy (forgiveness)Friedemann Kleint2024-09-181-9/+9
| | | | | | | | | | | | | The new enums still support old syntax by the forgiveness mode. Nevertheless, when using mypy to check files, strict correctness is enforced. We correct a large number of forgiveness-induced errors, but there is still a whole lot of other complaints to fix. Task-number: PYSIDE-2846 Change-Id: If566187d268ef75bc09b8d86f73d2c7d19f284f9 Reviewed-by: Friedemann Kleint <[email protected]>
* Python-3.10: Allow the new syntax for Python 3.9Christian Tismer2024-06-201-0/+1
| | | | | | | | Add a future statement to all Python source files. Task-number: PYSIDE-2786 Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690 Reviewed-by: Adrian Herrmann <[email protected]>
* examples: fix flake8 issues and add exceptionsCristián Maureira-Fredes2024-01-251-1/+1
| | | | | | | | | | Exception for: - qApp and tr not being directly imported: F821 - *rc and qml modules being imported but not used: F401 Pick-to: 6.6 6.5 6.2 Change-Id: I5e40f3f54c1721ef3dc5d7f1e87d5fd8ec771b8e Reviewed-by: Friedemann Kleint <[email protected]>
* Add rhiwindow exampleFriedemann Kleint2023-11-021-0/+80
Pick-to: 6.6 Task-number: QTBUG-113331 Change-Id: I4d775ecaeab5e8692a06d19b9951b139bc3d1051 Reviewed-by: Cristian Maureira-Fredes <[email protected]>