aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Change example scripts permissions to 644Cristian Maureira-Fredes2018-12-1212-12/+0
| | | | | | | | | | | There was a mix of 644 and 755, since we expect the users to execute: python example.py we do not need to have files with 755. Change-Id: Iba9b2f5dbb57fe2a3503d8dfe971a4e92e764022 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Add text properties QML exampleCristian Maureira-Fredes2018-07-122-0/+303
| | | | | | Task-number: PYSIDE-738 Change-Id: I5f22cd322d4414d5ee4be38042b0fc849c40987a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix examples/declarative/usingmodelCristian Maureira-Fredes2018-06-211-4/+4
| | | | | | | | | | | | The problem was related to the recent change on the QByteArray constructors. The roles need to be QByteArray instead of Python strings. Task-number: PYSIDE-703 Change-Id: I7dfc0d2a80ae99d3c10929e9730125c68a0c5950 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix examples/declarative/extending/chapter5Cristian Maureira-Fredes2018-06-181-8/+8
| | | | | | Task-number: PYSIDE-708 Change-Id: I57c2e05c02ce58a65428cd75098a85abad1bc07b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix examples/declarative/extending/chapter4Cristian Maureira-Fredes2018-06-181-7/+8
| | | | | | Task-number: PYSIDE-708 Change-Id: I5f393336207d68661a4fb07a07461bf8a74a719f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Change license from all the filesCristian Maureira-Fredes2018-05-0323-23/+23
| | | | | | | | | | | | | | | | | Removing the word 'project' from all the headers, and changing the PySide reference from the examples to Qt for Python: The following line was used inside the source/ and build_scripts/ directory: for i in $(grep -r "the Qt for Python project" * |grep -v "pyside2-tools" | awk '{print $1}' | sed 's/:.*//g');do sed -i 's/the\ Qt\ for\ Python\ project/Qt\ for\ Python/g' $i;done and the following line was used inside the examples/ directory: for i in $(grep -r "of the PySide" * |grep -v "pyside2-tools" | awk '{print $1}' | sed 's/:.*//g');do sed -i 's/of\ the\ PySide/of\ the\ Qt\ for\ Python/g' $i;done Change-Id: Ic480714686ad62ac4d81c670f87f1c2033d4ffa1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Example: Adjust the boundingRect for the PieChartVenugopal Shivashankar2018-01-175-5/+5
| | | | | | | | | The extending QML tutorial examples draw PieChart that looks clipped, unless the boundingRect is adjusted. Task-number: PYSIDE-363 Change-Id: Ice4715f94ebae472d22596232ad1f22df59cea0f Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Move examples from submodule to pyside-setupFriedemann Kleint2018-01-1223-0/+1935
Move PySide2 examples that are owned by the Qt Company to a new examples directory. Done-with: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Task-number: PYSIDE-363 Change-Id: I14099764d9eef2bc35e067086121427955862e3a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>