aboutsummaryrefslogtreecommitdiffstats
path: root/examples/statemachine
Commit message (Collapse)AuthorAgeFilesLines
* Use fully qualified enumerations in more examplesFriedemann Kleint2025-01-063-27/+27
| | | | | | | Pick-to: 6.8 Task-number: PYSIDE-1735 Change-Id: Ic2c478ef363d73f65f366e21529c0429c86539aa Reviewed-by: Cristian Maureira-Fredes <[email protected]>
* Documentation: Fix some warningsFriedemann Kleint2024-12-161-1/+1
| | | | | | Pick-to: 6.8 Change-Id: I8d370d76264884924136879238a5bffef489c19e Reviewed-by: Cristian Maureira-Fredes <[email protected]>
* Documentation/Examples: Add missing docsShyamnath Premnadh2024-12-124-0/+23
| | | | | | | | | Some examples did not have any documentation. This patch adds the respective documentation. Pick-to: 6.8 Change-Id: I9698752b654c2df29fd3572f6bc66a9df56f9903 Reviewed-by: Friedemann Kleint <[email protected]>
* type hints: Fix some typing bugs for mypy (forgiveness)Friedemann Kleint2024-09-181-1/+1
| | | | | | | | | | | | | 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-204-0/+4
| | | | | | | | 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]>
* Examples: Fix a number of flake8 errors (part 1)Adrian Herrmann2023-12-061-6/+6
| | | | | | | | | First batch, including low-hanging fruit like Alignments, whitespaces, line length, indents, etc. Pick-to: 6.6 Change-Id: I55966876077f7fddfdc82cbe376677af9995f329 Reviewed-by: Friedemann Kleint <[email protected]>
* Port moveblocks exampleAdrian Herrmann2023-06-064-0/+235
| | | | | | | | | Port the Move Blocks example from QStateMachine to PySide. Pick-to: 6.5 Task-number: PYSIDE-2206 Change-Id: I0c5b57aaffe5d8d18b79d9c067399ac655fd3d43 Reviewed-by: Cristian Maureira-Fredes <[email protected]>
* Fix picture of traffic light exampleAdrian Herrmann2023-06-061-0/+0
| | | | | | | | | The picture for the statemachine/trafficlight example documentation was broken. Pick-to: 6.5 Change-Id: Id1abd52cfa0f89df3265b0a570793bffdea7ab4a Reviewed-by: Cristian Maureira-Fredes <[email protected]>
* Sync removed statemachine examplesAdrian Herrmann2023-05-306-188/+0
| | | | | | | | | | Three qtstatemachine examples have been removed on the C++ side, remove them here as well. Pick-to: 6.5 Task-number: PYSIDE-2206 Change-Id: I18f4a63740804126b5f01473acff45ac53746a44 Reviewed-by: Cristian Maureira-Fredes <[email protected]>
* examples: remove unused importsCristián Maureira-Fredes2023-04-052-2/+2
| | | | | | Change-Id: I88a7bb2fe91abcfdef6e6014b088d08c4e613893 Pick-to: 6.5 Reviewed-by: Friedemann Kleint <[email protected]>
* Move examples aroundFriedemann Kleint2022-09-1614-0/+573
Change the directory structure to closer match that of Qt. Task-number: PYSIDE-841 Change-Id: I87aca346b6654aafe94dd1fb83c184c182ceb2e6 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Cristian Maureira-Fredes <[email protected]>