Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* type hints: Fix some typing bugs for mypy (forgiveness)Friedemann Kleint2024-09-181-5/+5
| | | | | | | | | | | | | 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 <Friedemann.Kleint@qt.io>
* 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 <adrian.herrmann@qt.io>
* Add multiwindow functionality from the C++ exampleFriedemann Kleint2023-09-191-3/+2
| | | | | | | | Pick-to: 6.6 Task-number: PYSIDE-2460 Task-number: PYSIDE-2206 Change-Id: I6644e098c15885271bd4bc1188ae44e6c984b369 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Examples: Split the hellogl2 exampleFriedemann Kleint2023-09-191-0/+59
Some small refactoring: shorten lines, use super() and move shader code to constants. Refactor the transparent option handling to be in line with the C++ example. Call the OpenGL cleanup from hideEvent() instead of QOpenGLContext::aboutToBeDestroyed() since the signal is emitted from the destructor and thus has no effect for Python. Pick-to: 6.6 Task-number: PYSIDE-2460 Task-number: PYSIDE-2206 Change-Id: I5d140db6e04baf88d2ac867d809c6cff9eb740b5 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>