aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/contactslist/main.py
Commit message (Collapse)AuthorAgeFilesLines
* Delete QQmlApplicationEngine on application exitJaime Resano2024-11-251-2/+2
| | | | | | | | | | | | | | Due to the API limitations, we have to ensure that the engine is deleted before other parts of the application is deleted. Otherwise exposing objects using setInitialProperties() or setContextProperty() for example will cause warnings to be printed. It is a good practice to always delete the engine manually so all the code should be consistent. Task-number: PYSIDE-1612 Pick-to: 6.8 Change-Id: I01f16359e9d90cefd5957708fe12ce489bd7edc0 Reviewed-by: Jaime Resano <[email protected]> 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 contactlist applicationShyamnath Premnadh2024-04-181-1/+2
| | | | | | | | | - Application breaks because deleting engine before calling app.exec_(). Pick-to: 6.7 6.6 6.5 Task-number: PYSIDE-2206 Change-Id: Ifb049788227dd19b851babc7ed7c00c1609d01db Reviewed-by: Friedemann Kleint <[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 2)Adrian Herrmann2023-12-061-1/+0
| | | | | | | | Import changes, i.e., removed or added imports. Pick-to: 6.6 Change-Id: Iadfa8f77846d8ffef0aeea9fd1a6e7e9c4df5106 Reviewed-by: Friedemann Kleint <[email protected]>
* PySide Examples: Add Contactslist exampleShyamnath Premnadh2023-12-041-0/+28
- Also works for Android Pick-to: 6.5 6.6 Task-number: PYSIDE-2206 Change-Id: Ib41b004a343c64a355187c9ef1780a8da4bd0553 Reviewed-by: Friedemann Kleint <[email protected]>