aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols
Commit message (Collapse)AuthorAgeFilesLines
* Python-3.10: Allow the new syntax for Python 3.9Christian Tismer2024-06-205-0/+5
| | | | | | | | Add a future statement to all Python source files. Task-number: PYSIDE-2786 Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* File System Explorer: Fix app icon when launched from another directoryFriedemann Kleint2024-04-301-1/+1
| | | | | | | | | Prepend path, fixing: qt.svg: Cannot open file '../FileSystemModule/icons/app_icon.svg', because: No such file or directory Pick-to: 6.7 Change-Id: I82876af19a63110f46f85222fb2bfb92ec8f1965 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* 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 <Friedemann.Kleint@qt.io>
* filesystemexplorer example: Remove import PySide6Friedemann Kleint2024-03-041-3/+2
| | | | | | | | | | This is bad practice which slows down the application startup. Task-number: PYSIDE-2576 Task-number: QTBUG-119785 Pick-to: 6.6 Change-Id: I761bceab9c2a3071a9a63c347df08c75fffec84f Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* examples: fix flake8 issues and add exceptionsCristián Maureira-Fredes2024-01-253-3/+3
| | | | | | | | | | 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>
* Filesystemexplorer-example: port v2Dennis Oberst2024-01-2320-451/+834
| | | | | | | | | | Since we're touching the example: improve the visualization of files inside the tree-view and provide a minimum width and height. Task-number: PYSIDE-2576 Task-number: QTBUG-119785 Change-Id: I47c6d3eb02436a9ab4213e9b8195b32eaaf37573 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Examples: Add Android tagShyamnath Premnadh2024-01-122-0/+4
| | | | | | | | | | | | | | | - Examples that work on Android are tagged Android. - Clicking the tag lists all PySide6 examples supported in Android. - sphinx-tags package added to add blog like tags to examples. [ChangeLog][PySide6] Examples supported on Android are tagged `Android` in documentation Pick-to: 6.6 Task-number: PYSIDE-1612 Change-Id: Ic4ea2c63756d060aeea85b0088da9ae248eda24e Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* 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 <Friedemann.Kleint@qt.io>
* Examples: Fix a number of flake8 errors (part 1)Adrian Herrmann2023-12-062-3/+4
| | | | | | | | | First batch, including low-hanging fruit like Alignments, whitespaces, line length, indents, etc. Pick-to: 6.6 Change-Id: I55966876077f7fddfdc82cbe376677af9995f329 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide Examples: Add Contactslist exampleShyamnath Premnadh2023-12-0412-0/+496
| | | | | | | | | - Also works for Android Pick-to: 6.5 6.6 Task-number: PYSIDE-2206 Change-Id: Ib41b004a343c64a355187c9ef1780a8da4bd0553 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* File system explorer example: Improve shortcutsFriedemann Kleint2023-10-251-2/+3
| | | | | | | | Use the standard keys for zoom and the common Ctrl+Q for quit. Pick-to: 6.6 Change-Id: I3659a5a84bc1e46938729710af31c834b8a50ed8 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* doc: fix issues with pyside rst filesCristián Maureira-Fredes2023-04-051-0/+1
| | | | | | | | | | Fixing extra indentation, syntax issues, and formatting. Adapting too some snippet line highlights, and many other details. Pick-to: 6.5 Change-Id: Ife4eb5cec03577b2902d409b4007ae6d12141747 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* example: add qtquickcontrols filesystemexplorerDennis Oberst2023-03-2926-0/+1221
| | | | | | | | | | This example was ported from the qt/quickcontrols repository Pick-to: 6.5 Task-number: PYSIDE-2224 Change-Id: Id323d21a4ae40f2105fe1e3858a16254aebc04e6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Update example logosFriedemann Kleint2023-03-275-956/+1617
| | | | | | | | | | Remove the unused logo in the animation example. Pick-to: 6.5 Task-number: PYSIDE-2206 Change-Id: I5726651f95b3abeb78b6ea422786b97b7a4aad4b Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Improve the Quick Controls Gallery exampleFriedemann Kleint2023-03-1011-6874/+2833
| | | | | | | | | | | | Take over the changes from the C++ example (qtdeclarative/730c1d16301ba5b3a27700741b7092290ca03279). As a drive-by, remove generated file from the project file. Task-number: PYSIDE-2206 Task-number: QTBUG-110989 Change-Id: I5fef51e2022d44cc05433b18cb79a6f7b3531e7d Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Move examples/quickcontrols2 to examples/quickcontrolsFriedemann Kleint2023-03-0666-0/+9618
Adapt to qtdeclarative/8b100bed5237b1ec864f059d7fb04b94fd874f49. Task-number: PYSIDE-2206 Task-number: QTBUG-95413 Change-Id: I849b4c6130f96e8d41a622f660b182770bdf7882 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>