aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
Commit message (Collapse)AuthorAgeFilesLines
* Fix Qt Quick painteditem example to run from a different directoryFriedemann Kleint2021-09-171-2/+4
| | | | | | | | Use the Path mechanism to resolve the QML file. Task-number: PYSIDE-1662 Change-Id: I2d6cce02063fab6746d2cdbc7c8c8701fad7e937 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix Qt Quick painteditem example to workFriedemann Kleint2021-09-172-2/+2
| | | | | | | | | | | | | | | - Fix the rightAligned property setter to have the same name as the getter - Fix the anchor property of the delegate Fixes warnings examples/quick/painteditem/main.qml:102:TypeError: 'NoneType' object is not callable examples/quick/painteditem/main.qml:65: TypeError: Cannot read property 'right' of null Pick-to: 6.1 Fixes: PYSIDE-1662 Change-Id: Iebd7a9632954fcc2b48e8a56f6e1c20d62b34468 Reviewed-by: Christian Tismer <tismer@stackless.com>
* qml: remove version numbers from importsCristián Maureira-Fredes2021-07-211-2/+2
| | | | | | | | | | | In Qt6 the latest version is used by default. Task-number: QTBUG-82922 Task-number: PYSIDE-841 Change-Id: I71ce9caf58db24b47736b977b461324788b93423 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Keith Kyzivat <keith.kyzivat@qt.io>
* examples: add screenshots to more modulesCristian Maureira-Fredes2021-06-122-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Adding screenshots and small documentation file to the modules - corelib - datavisualization - external - opengl - quick - sql - uitools - webchannel - webenginewidgets - some widgets - xml Renaming the widgets gallery due to name conflict with the quick controls gallery, and fixing two typos from contextinfo.py and hellogl2.py. Task-number: PYSIDE-841 Pick-to: 6.1 Change-Id: I2705e5d605fa738da0dca906cf6acb4b9d5d3dcd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* examples: use exec() instead of exec_()Cristian Maureira-Fredes2021-05-051-1/+1
| | | | | Change-Id: I07dd4339093be8fcc80e63a2ff0448e998356203 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* examples: directory structureCristian Maureira-Fredes2021-02-094-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | When generating the gallery automatically, the structure of the examples was not the same for all the modules. This reorganization was made under the following assumption: An example requires: - its own directory, - a '.pyproject' file, - one or more '.py' files, - extra files (likes images, .rc, .ui, etc) Even for cases when subdirectories are made to depict categories, like 'widgets/state-machine/...', one directory is required per example. There should not be '.pyproject' files for categories, except for the general 'examples.pyproject' to open all of them. Task-number: PYSIDE-1490 Pick-to: 6.0 Change-Id: Ie690773c816a248016dbebaad90fbb1d1c2aeea5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Rename PySide2 to PySide6Friedemann Kleint2020-11-021-5/+5
| | | | | | | | Adapt CMake files, build scripts, tests and examples. Task-number: PYSIDE-904 Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88 Reviewed-by: Christian Tismer <tismer@stackless.com>
* add quick painteditem exampleJimmy Girardet2020-07-153-0/+223
Task-number: PYSIDE-841 Change-Id: I9ba6e6dfe9c5755d7246c44f78e2c3eeae0d5cf7 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>