aboutsummaryrefslogtreecommitdiffstats
path: root/examples/charts
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/charts
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/charts')
-rw-r--r--examples/charts/audio/audio.py (renamed from examples/charts/audio.py)0
-rw-r--r--examples/charts/audio/audio.pyproject3
-rw-r--r--examples/charts/callout/callout.py (renamed from examples/charts/callout.py)0
-rw-r--r--examples/charts/callout/callout.pyproject3
-rw-r--r--examples/charts/charts.pyproject5
-rw-r--r--examples/charts/donutbreakdown/donutbreakdown.py (renamed from examples/charts/donutbreakdown.py)0
-rw-r--r--examples/charts/donutbreakdown/donutbreakdown.pyproject3
-rw-r--r--examples/charts/legend/legend.py (renamed from examples/charts/legend.py)0
-rw-r--r--examples/charts/legend/legend.pyproject3
-rw-r--r--examples/charts/lineandbar/lineandbar.py (renamed from examples/charts/lineandbar.py)0
-rw-r--r--examples/charts/lineandbar/lineandbar.pyproject3
-rw-r--r--examples/charts/linechart/linechart.py (renamed from examples/charts/linechart.py)0
-rw-r--r--examples/charts/linechart/linechart.pyproject3
-rw-r--r--examples/charts/logvalueaxis/logvalueaxis.py (renamed from examples/charts/logvalueaxis.py)0
-rw-r--r--examples/charts/logvalueaxis/logvalueaxis.pyproject3
-rw-r--r--examples/charts/memoryusage/memoryusage.py (renamed from examples/charts/memoryusage.py)0
-rw-r--r--examples/charts/memoryusage/memoryusage.pyproject3
-rw-r--r--examples/charts/modeldata/modeldata.py (renamed from examples/charts/modeldata.py)0
-rw-r--r--examples/charts/modeldata/modeldata.pyproject3
-rw-r--r--examples/charts/nesteddonuts/nesteddonuts.py (renamed from examples/charts/nesteddonuts.py)0
-rw-r--r--examples/charts/nesteddonuts/nesteddonuts.pyproject3
-rw-r--r--examples/charts/percentbarchart/percentbarchart.py (renamed from examples/charts/percentbarchart.py)0
-rw-r--r--examples/charts/percentbarchart/percentbarchart.pyproject3
-rw-r--r--examples/charts/piechart/piechart.py (renamed from examples/charts/piechart.py)0
-rw-r--r--examples/charts/piechart/piechart.pyproject3
-rw-r--r--examples/charts/temperaturerecords/temperaturerecords.py (renamed from examples/charts/temperaturerecords.py)0
-rw-r--r--examples/charts/temperaturerecords/temperaturerecords.pyproject3
27 files changed, 39 insertions, 5 deletions
diff --git a/examples/charts/audio.py b/examples/charts/audio/audio.py
index 969f2b9ab..969f2b9ab 100644
--- a/examples/charts/audio.py
+++ b/examples/charts/audio/audio.py
diff --git a/examples/charts/audio/audio.pyproject b/examples/charts/audio/audio.pyproject
new file mode 100644
index 000000000..00d15e1ab
--- /dev/null
+++ b/examples/charts/audio/audio.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["audio.py"]
+}
diff --git a/examples/charts/callout.py b/examples/charts/callout/callout.py
index 666b2aae5..666b2aae5 100644
--- a/examples/charts/callout.py
+++ b/examples/charts/callout/callout.py
diff --git a/examples/charts/callout/callout.pyproject b/examples/charts/callout/callout.pyproject
new file mode 100644
index 000000000..1360c97b4
--- /dev/null
+++ b/examples/charts/callout/callout.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["callout.py"]
+}
diff --git a/examples/charts/charts.pyproject b/examples/charts/charts.pyproject
deleted file mode 100644
index 15a48a3a1..000000000
--- a/examples/charts/charts.pyproject
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "files": ["percentbarchart.py", "donutbreakdown.py", "legend.py", "nesteddonuts.py",
- "modeldata.py", "lineandbar.py", "memoryusage.py", "callout.py", "audio.py",
- "linechart.py", "logvalueaxis.py", "piechart.py", "temperaturerecords.py"]
-}
diff --git a/examples/charts/donutbreakdown.py b/examples/charts/donutbreakdown/donutbreakdown.py
index 4c319c84f..4c319c84f 100644
--- a/examples/charts/donutbreakdown.py
+++ b/examples/charts/donutbreakdown/donutbreakdown.py
diff --git a/examples/charts/donutbreakdown/donutbreakdown.pyproject b/examples/charts/donutbreakdown/donutbreakdown.pyproject
new file mode 100644
index 000000000..6225792da
--- /dev/null
+++ b/examples/charts/donutbreakdown/donutbreakdown.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["donutbreakdown.py"]
+}
diff --git a/examples/charts/legend.py b/examples/charts/legend/legend.py
index 71fd94885..71fd94885 100644
--- a/examples/charts/legend.py
+++ b/examples/charts/legend/legend.py
diff --git a/examples/charts/legend/legend.pyproject b/examples/charts/legend/legend.pyproject
new file mode 100644
index 000000000..f130dcf01
--- /dev/null
+++ b/examples/charts/legend/legend.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["legend.py"]
+}
diff --git a/examples/charts/lineandbar.py b/examples/charts/lineandbar/lineandbar.py
index 219da17b5..219da17b5 100644
--- a/examples/charts/lineandbar.py
+++ b/examples/charts/lineandbar/lineandbar.py
diff --git a/examples/charts/lineandbar/lineandbar.pyproject b/examples/charts/lineandbar/lineandbar.pyproject
new file mode 100644
index 000000000..8d9010cf7
--- /dev/null
+++ b/examples/charts/lineandbar/lineandbar.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["lineandbar.py"]
+}
diff --git a/examples/charts/linechart.py b/examples/charts/linechart/linechart.py
index 84cd0c8b3..84cd0c8b3 100644
--- a/examples/charts/linechart.py
+++ b/examples/charts/linechart/linechart.py
diff --git a/examples/charts/linechart/linechart.pyproject b/examples/charts/linechart/linechart.pyproject
new file mode 100644
index 000000000..a0b84c285
--- /dev/null
+++ b/examples/charts/linechart/linechart.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["linechart.py"]
+}
diff --git a/examples/charts/logvalueaxis.py b/examples/charts/logvalueaxis/logvalueaxis.py
index c5e90c584..c5e90c584 100644
--- a/examples/charts/logvalueaxis.py
+++ b/examples/charts/logvalueaxis/logvalueaxis.py
diff --git a/examples/charts/logvalueaxis/logvalueaxis.pyproject b/examples/charts/logvalueaxis/logvalueaxis.pyproject
new file mode 100644
index 000000000..b6b3a8e74
--- /dev/null
+++ b/examples/charts/logvalueaxis/logvalueaxis.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["logvalueaxis.py"]
+}
diff --git a/examples/charts/memoryusage.py b/examples/charts/memoryusage/memoryusage.py
index a6c536de5..a6c536de5 100644
--- a/examples/charts/memoryusage.py
+++ b/examples/charts/memoryusage/memoryusage.py
diff --git a/examples/charts/memoryusage/memoryusage.pyproject b/examples/charts/memoryusage/memoryusage.pyproject
new file mode 100644
index 000000000..4a3c69ef6
--- /dev/null
+++ b/examples/charts/memoryusage/memoryusage.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["memoryusage.py"]
+}
diff --git a/examples/charts/modeldata.py b/examples/charts/modeldata/modeldata.py
index 1d10190f4..1d10190f4 100644
--- a/examples/charts/modeldata.py
+++ b/examples/charts/modeldata/modeldata.py
diff --git a/examples/charts/modeldata/modeldata.pyproject b/examples/charts/modeldata/modeldata.pyproject
new file mode 100644
index 000000000..e10d49eb2
--- /dev/null
+++ b/examples/charts/modeldata/modeldata.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["modeldata.py"]
+}
diff --git a/examples/charts/nesteddonuts.py b/examples/charts/nesteddonuts/nesteddonuts.py
index 9005980a2..9005980a2 100644
--- a/examples/charts/nesteddonuts.py
+++ b/examples/charts/nesteddonuts/nesteddonuts.py
diff --git a/examples/charts/nesteddonuts/nesteddonuts.pyproject b/examples/charts/nesteddonuts/nesteddonuts.pyproject
new file mode 100644
index 000000000..69653ae73
--- /dev/null
+++ b/examples/charts/nesteddonuts/nesteddonuts.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["nesteddonuts.py"]
+}
diff --git a/examples/charts/percentbarchart.py b/examples/charts/percentbarchart/percentbarchart.py
index b9301f36e..b9301f36e 100644
--- a/examples/charts/percentbarchart.py
+++ b/examples/charts/percentbarchart/percentbarchart.py
diff --git a/examples/charts/percentbarchart/percentbarchart.pyproject b/examples/charts/percentbarchart/percentbarchart.pyproject
new file mode 100644
index 000000000..0cf3778af
--- /dev/null
+++ b/examples/charts/percentbarchart/percentbarchart.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["percentbarchart.py"]
+}
diff --git a/examples/charts/piechart.py b/examples/charts/piechart/piechart.py
index 29947263d..29947263d 100644
--- a/examples/charts/piechart.py
+++ b/examples/charts/piechart/piechart.py
diff --git a/examples/charts/piechart/piechart.pyproject b/examples/charts/piechart/piechart.pyproject
new file mode 100644
index 000000000..2578b435e
--- /dev/null
+++ b/examples/charts/piechart/piechart.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["piechart.py"]
+}
diff --git a/examples/charts/temperaturerecords.py b/examples/charts/temperaturerecords/temperaturerecords.py
index 3a8a86f42..3a8a86f42 100644
--- a/examples/charts/temperaturerecords.py
+++ b/examples/charts/temperaturerecords/temperaturerecords.py
diff --git a/examples/charts/temperaturerecords/temperaturerecords.pyproject b/examples/charts/temperaturerecords/temperaturerecords.pyproject
new file mode 100644
index 000000000..8db39e340
--- /dev/null
+++ b/examples/charts/temperaturerecords/temperaturerecords.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["temperaturerecords.py"]
+}