aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-02-05 10:07:19 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2021-02-09 07:43:07 +0000
commit33743aeb2be37d166bcc3291a98dd22026871cef (patch)
treecd45b08ef2a8c80e5e250e1050a41d8ece6fa199 /examples/quick
parentad01b159e02067ba46d6433412cb1e690553e946 (diff)
examples: directory structure
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>
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/customitems/painteditem/painteditem.pyproject3
-rw-r--r--examples/quick/painteditem/main.qml (renamed from examples/quick/customitems/painteditem/main.qml)0
-rw-r--r--examples/quick/painteditem/painteditem.py (renamed from examples/quick/customitems/painteditem/painteditem.py)0
-rw-r--r--examples/quick/painteditem/painteditem.pyproject3
4 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/customitems/painteditem/painteditem.pyproject b/examples/quick/customitems/painteditem/painteditem.pyproject
deleted file mode 100644
index 0c70ebe59..000000000
--- a/examples/quick/customitems/painteditem/painteditem.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["main.qml", "painteditem.pyproject"]
-}
diff --git a/examples/quick/customitems/painteditem/main.qml b/examples/quick/painteditem/main.qml
index d3404cad6..d3404cad6 100644
--- a/examples/quick/customitems/painteditem/main.qml
+++ b/examples/quick/painteditem/main.qml
diff --git a/examples/quick/customitems/painteditem/painteditem.py b/examples/quick/painteditem/painteditem.py
index 5476bdbaf..5476bdbaf 100644
--- a/examples/quick/customitems/painteditem/painteditem.py
+++ b/examples/quick/painteditem/painteditem.py
diff --git a/examples/quick/painteditem/painteditem.pyproject b/examples/quick/painteditem/painteditem.pyproject
new file mode 100644
index 000000000..0597c2a97
--- /dev/null
+++ b/examples/quick/painteditem/painteditem.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["main.qml", "painteditem.py"]
+}