Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use fully qualified enumerations in more examplesFriedemann Kleint2025-01-061-5/+5
| | | | | | | Pick-to: 6.8 Task-number: PYSIDE-1735 Change-Id: Ic2c478ef363d73f65f366e21529c0429c86539aa Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@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>
* 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 <Friedemann.Kleint@qt.io>
* Examples: Fix a number of flake8 errors (part 2)Adrian Herrmann2023-12-061-2/+1
| | | | | | | | Import changes, i.e., removed or added imports. Pick-to: 6.6 Change-Id: Iadfa8f77846d8ffef0aeea9fd1a6e7e9c4df5106 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add multiwindow functionality from the C++ exampleFriedemann Kleint2023-09-191-9/+64
| | | | | | | | 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/+56
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>