From 8c8de4b7db40e6c130b74e12cba57b01b58e9dad Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Thu, 10 Jun 2021 15:35:25 +0200 Subject: examples: add screenshots for 3d, axcontainer, charts - Add screenshot - Add one-phrase for each example from doc.qt.io Pick-to: 6.1 Task-number: PYSIDE-841 Change-Id: I72ee7b34d9ecfd595c7e6301fe1576086bc82203 Reviewed-by: Friedemann Kleint --- examples/3d/simple3d/doc/simple3d.png | Bin 0 -> 5750 bytes examples/3d/simple3d/doc/simple3d.rst | 8 ++++++++ examples/axcontainer/axviewer/doc/axviewer.png | Bin 0 -> 16158 bytes examples/axcontainer/axviewer/doc/axviewer.rst | 9 +++++++++ examples/charts/audio/doc/audio.png | Bin 0 -> 24659 bytes examples/charts/audio/doc/audio.rst | 8 ++++++++ examples/charts/callout/doc/callout.png | Bin 0 -> 30597 bytes examples/charts/callout/doc/callout.rst | 8 ++++++++ examples/charts/chartthemes/doc/chartthemes.png | Bin 0 -> 47895 bytes examples/charts/chartthemes/doc/chartthemes.rst | 11 +++++++++++ .../charts/donutbreakdown/doc/donutbreakdown.png | Bin 0 -> 50391 bytes .../charts/donutbreakdown/doc/donutbreakdown.rst | 8 ++++++++ examples/charts/legend/doc/legend.png | Bin 0 -> 22719 bytes examples/charts/legend/doc/legend.rst | 20 ++++++++++++++++++++ examples/charts/lineandbar/doc/lineandbar.png | Bin 0 -> 14482 bytes examples/charts/lineandbar/doc/lineandbar.rst | 11 +++++++++++ examples/charts/linechart/doc/linechart.png | Bin 0 -> 13485 bytes examples/charts/linechart/doc/linechart.rst | 8 ++++++++ examples/charts/logvalueaxis/doc/logvalueaxis.png | Bin 0 -> 25462 bytes examples/charts/logvalueaxis/doc/logvalueaxis.rst | 8 ++++++++ examples/charts/memoryusage/doc/memoryusage.png | Bin 0 -> 6633 bytes examples/charts/memoryusage/doc/memoryusage.rst | 9 +++++++++ examples/charts/modeldata/doc/modeldata.png | Bin 0 -> 70926 bytes examples/charts/modeldata/doc/modeldata.rst | 9 +++++++++ examples/charts/nesteddonuts/doc/nesteddonuts.png | Bin 0 -> 63338 bytes examples/charts/nesteddonuts/doc/nesteddonuts.rst | 7 +++++++ .../charts/percentbarchart/doc/percentbarchart.png | Bin 0 -> 10274 bytes .../charts/percentbarchart/doc/percentbarchart.rst | 17 +++++++++++++++++ examples/charts/piechart/doc/piechart.png | Bin 0 -> 9644 bytes examples/charts/piechart/doc/piechart.rst | 8 ++++++++ examples/charts/qmlpolarchart/doc/qmlpolarchart.png | Bin 0 -> 45305 bytes examples/charts/qmlpolarchart/doc/qmlpolarchart.rst | 8 ++++++++ .../temperaturerecords/doc/temperaturerecords.png | Bin 0 -> 13035 bytes .../temperaturerecords/doc/temperaturerecords.rst | 10 ++++++++++ 34 files changed, 167 insertions(+) create mode 100644 examples/3d/simple3d/doc/simple3d.png create mode 100644 examples/3d/simple3d/doc/simple3d.rst create mode 100644 examples/axcontainer/axviewer/doc/axviewer.png create mode 100644 examples/axcontainer/axviewer/doc/axviewer.rst create mode 100644 examples/charts/audio/doc/audio.png create mode 100644 examples/charts/audio/doc/audio.rst create mode 100644 examples/charts/callout/doc/callout.png create mode 100644 examples/charts/callout/doc/callout.rst create mode 100644 examples/charts/chartthemes/doc/chartthemes.png create mode 100644 examples/charts/chartthemes/doc/chartthemes.rst create mode 100644 examples/charts/donutbreakdown/doc/donutbreakdown.png create mode 100644 examples/charts/donutbreakdown/doc/donutbreakdown.rst create mode 100644 examples/charts/legend/doc/legend.png create mode 100644 examples/charts/legend/doc/legend.rst create mode 100644 examples/charts/lineandbar/doc/lineandbar.png create mode 100644 examples/charts/lineandbar/doc/lineandbar.rst create mode 100644 examples/charts/linechart/doc/linechart.png create mode 100644 examples/charts/linechart/doc/linechart.rst create mode 100644 examples/charts/logvalueaxis/doc/logvalueaxis.png create mode 100644 examples/charts/logvalueaxis/doc/logvalueaxis.rst create mode 100644 examples/charts/memoryusage/doc/memoryusage.png create mode 100644 examples/charts/memoryusage/doc/memoryusage.rst create mode 100644 examples/charts/modeldata/doc/modeldata.png create mode 100644 examples/charts/modeldata/doc/modeldata.rst create mode 100644 examples/charts/nesteddonuts/doc/nesteddonuts.png create mode 100644 examples/charts/nesteddonuts/doc/nesteddonuts.rst create mode 100644 examples/charts/percentbarchart/doc/percentbarchart.png create mode 100644 examples/charts/percentbarchart/doc/percentbarchart.rst create mode 100644 examples/charts/piechart/doc/piechart.png create mode 100644 examples/charts/piechart/doc/piechart.rst create mode 100644 examples/charts/qmlpolarchart/doc/qmlpolarchart.png create mode 100644 examples/charts/qmlpolarchart/doc/qmlpolarchart.rst create mode 100644 examples/charts/temperaturerecords/doc/temperaturerecords.png create mode 100644 examples/charts/temperaturerecords/doc/temperaturerecords.rst diff --git a/examples/3d/simple3d/doc/simple3d.png b/examples/3d/simple3d/doc/simple3d.png new file mode 100644 index 000000000..0eaa51041 Binary files /dev/null and b/examples/3d/simple3d/doc/simple3d.png differ diff --git a/examples/3d/simple3d/doc/simple3d.rst b/examples/3d/simple3d/doc/simple3d.rst new file mode 100644 index 000000000..e042c691b --- /dev/null +++ b/examples/3d/simple3d/doc/simple3d.rst @@ -0,0 +1,8 @@ +Simple Qt 3D Example +==================== + +A Python application that demonstrates how to render a scene in Qt 3D. + +.. image:: simple3d.png + :width: 400 + :alt: Simple 3D Screenshot diff --git a/examples/axcontainer/axviewer/doc/axviewer.png b/examples/axcontainer/axviewer/doc/axviewer.png new file mode 100644 index 000000000..7ce6ad8a4 Binary files /dev/null and b/examples/axcontainer/axviewer/doc/axviewer.png differ diff --git a/examples/axcontainer/axviewer/doc/axviewer.rst b/examples/axcontainer/axviewer/doc/axviewer.rst new file mode 100644 index 000000000..51f50426d --- /dev/null +++ b/examples/axcontainer/axviewer/doc/axviewer.rst @@ -0,0 +1,9 @@ +Ax Viewer Example +================= + +A simple example to use QAxWidget and access all the +available components. + +.. image:: axviewer.png + :width: 400 + :alt: Ax Viewer Screenshot diff --git a/examples/charts/audio/doc/audio.png b/examples/charts/audio/doc/audio.png new file mode 100644 index 000000000..15ee1f680 Binary files /dev/null and b/examples/charts/audio/doc/audio.png differ diff --git a/examples/charts/audio/doc/audio.rst b/examples/charts/audio/doc/audio.rst new file mode 100644 index 000000000..38394451d --- /dev/null +++ b/examples/charts/audio/doc/audio.rst @@ -0,0 +1,8 @@ +Audio Example +============= + +This example shows the drawing of dynamic data (microphone input). + +.. image:: audio.png + :width: 400 + :alt: Audio Screenshot diff --git a/examples/charts/callout/doc/callout.png b/examples/charts/callout/doc/callout.png new file mode 100644 index 000000000..19e4c9d69 Binary files /dev/null and b/examples/charts/callout/doc/callout.png differ diff --git a/examples/charts/callout/doc/callout.rst b/examples/charts/callout/doc/callout.rst new file mode 100644 index 000000000..eeba1ca48 --- /dev/null +++ b/examples/charts/callout/doc/callout.rst @@ -0,0 +1,8 @@ +Callout Example +=============== + +This example shows how to draw an additional element (a callout) on top of the chart. + +.. image:: callout.png + :width: 400 + :alt: Callout Screenshot diff --git a/examples/charts/chartthemes/doc/chartthemes.png b/examples/charts/chartthemes/doc/chartthemes.png new file mode 100644 index 000000000..327caf552 Binary files /dev/null and b/examples/charts/chartthemes/doc/chartthemes.png differ diff --git a/examples/charts/chartthemes/doc/chartthemes.rst b/examples/charts/chartthemes/doc/chartthemes.rst new file mode 100644 index 000000000..104c67959 --- /dev/null +++ b/examples/charts/chartthemes/doc/chartthemes.rst @@ -0,0 +1,11 @@ +Chart Themes Example +==================== + +The example shows the look and feel of the different built-in themes. + +This example shows the look and feel of the different built-in themes for some +of the supported chart types. + +.. image:: chartthemes.png + :width: 400 + :alt: Chart Themes Screenshot diff --git a/examples/charts/donutbreakdown/doc/donutbreakdown.png b/examples/charts/donutbreakdown/doc/donutbreakdown.png new file mode 100644 index 000000000..6499a8790 Binary files /dev/null and b/examples/charts/donutbreakdown/doc/donutbreakdown.png differ diff --git a/examples/charts/donutbreakdown/doc/donutbreakdown.rst b/examples/charts/donutbreakdown/doc/donutbreakdown.rst new file mode 100644 index 000000000..3e21d19e5 --- /dev/null +++ b/examples/charts/donutbreakdown/doc/donutbreakdown.rst @@ -0,0 +1,8 @@ +Donut Chart Breakdown Example +============================= + +This example shows how to use create a donut breakdown chart using QPieSeries API. + +.. image:: donutbreakdown.png + :width: 400 + :alt: Donut Chart Breakdown Screenshot diff --git a/examples/charts/legend/doc/legend.png b/examples/charts/legend/doc/legend.png new file mode 100644 index 000000000..1adc3d75b Binary files /dev/null and b/examples/charts/legend/doc/legend.png differ diff --git a/examples/charts/legend/doc/legend.rst b/examples/charts/legend/doc/legend.rst new file mode 100644 index 000000000..10fb79cc1 --- /dev/null +++ b/examples/charts/legend/doc/legend.rst @@ -0,0 +1,20 @@ +Legend Example +============== + +This example shows how to detach the legend from the chart and how to attach it +back. + +By default the chart draws the legend inside the same view with the chart. In +some cases the user may want to draw the legend to somewhere else. To make this +possible the legend can be detached from the chart. Detaching means that the +chart doesn't draw the legend or try to change its layout. The detached legend can +then be drawn wherever the user wishes, for example, in a different graphics +scene. The behavior of the legend can be inspected by running the legend +example. In the example we use the bar series where we add or remove the bar +sets. The legend reflects the changes in the series. The legend can be detached or +attached back to the chart and its alignment can be modified. When the legend +is detached, it can be resized and positioned freely. + +.. image:: legend.png + :width: 400 + :alt: Legend Screenshot diff --git a/examples/charts/lineandbar/doc/lineandbar.png b/examples/charts/lineandbar/doc/lineandbar.png new file mode 100644 index 000000000..a5c1fcea5 Binary files /dev/null and b/examples/charts/lineandbar/doc/lineandbar.png differ diff --git a/examples/charts/lineandbar/doc/lineandbar.rst b/examples/charts/lineandbar/doc/lineandbar.rst new file mode 100644 index 000000000..18dce9e59 --- /dev/null +++ b/examples/charts/lineandbar/doc/lineandbar.rst @@ -0,0 +1,11 @@ +Line and Bar Chart Example +========================== + +The example shows how to combine different charts and set the axes. + +In the example, we combine a linechart with a barchart and use the category +axis as a common axis for both. + +.. image:: lineandbar.png + :width: 400 + :alt: Line and Bar Chart Screenshot diff --git a/examples/charts/linechart/doc/linechart.png b/examples/charts/linechart/doc/linechart.png new file mode 100644 index 000000000..9c32aabd5 Binary files /dev/null and b/examples/charts/linechart/doc/linechart.png differ diff --git a/examples/charts/linechart/doc/linechart.rst b/examples/charts/linechart/doc/linechart.rst new file mode 100644 index 000000000..b3daea3cf --- /dev/null +++ b/examples/charts/linechart/doc/linechart.rst @@ -0,0 +1,8 @@ +Line Chart Example +================== + +The example shows how to create a simple line chart. + +.. image:: linechart.png + :width: 400 + :alt: Line Chart Screenshot diff --git a/examples/charts/logvalueaxis/doc/logvalueaxis.png b/examples/charts/logvalueaxis/doc/logvalueaxis.png new file mode 100644 index 000000000..c25a5f4be Binary files /dev/null and b/examples/charts/logvalueaxis/doc/logvalueaxis.png differ diff --git a/examples/charts/logvalueaxis/doc/logvalueaxis.rst b/examples/charts/logvalueaxis/doc/logvalueaxis.rst new file mode 100644 index 000000000..14c080a52 --- /dev/null +++ b/examples/charts/logvalueaxis/doc/logvalueaxis.rst @@ -0,0 +1,8 @@ +Logarithmic Axis Example +======================== + +The example shows how to use QLogValueAxis. + +.. image:: logvalueaxis.png + :width: 400 + :alt: Logarithmic Axis Example Screenshot diff --git a/examples/charts/memoryusage/doc/memoryusage.png b/examples/charts/memoryusage/doc/memoryusage.png new file mode 100644 index 000000000..de19d1602 Binary files /dev/null and b/examples/charts/memoryusage/doc/memoryusage.png differ diff --git a/examples/charts/memoryusage/doc/memoryusage.rst b/examples/charts/memoryusage/doc/memoryusage.rst new file mode 100644 index 000000000..59cac30d7 --- /dev/null +++ b/examples/charts/memoryusage/doc/memoryusage.rst @@ -0,0 +1,9 @@ +Memory Usag Example +=================== + +This example shows a QPieChart with the current memory usage in your +computer. + +.. image:: memoryusage.png + :width: 400 + :alt: Memory Usage Screenshot diff --git a/examples/charts/modeldata/doc/modeldata.png b/examples/charts/modeldata/doc/modeldata.png new file mode 100644 index 000000000..29cb57084 Binary files /dev/null and b/examples/charts/modeldata/doc/modeldata.png differ diff --git a/examples/charts/modeldata/doc/modeldata.rst b/examples/charts/modeldata/doc/modeldata.rst new file mode 100644 index 000000000..5d5d59e39 --- /dev/null +++ b/examples/charts/modeldata/doc/modeldata.rst @@ -0,0 +1,9 @@ +Model Data Example +===================== + +This example shows how to use the QAbstractTableModel derived model as the data +for the series. + +.. image:: modeldata.png + :width: 400 + :alt: Model Data Screenshot diff --git a/examples/charts/nesteddonuts/doc/nesteddonuts.png b/examples/charts/nesteddonuts/doc/nesteddonuts.png new file mode 100644 index 000000000..e1885081b Binary files /dev/null and b/examples/charts/nesteddonuts/doc/nesteddonuts.png differ diff --git a/examples/charts/nesteddonuts/doc/nesteddonuts.rst b/examples/charts/nesteddonuts/doc/nesteddonuts.rst new file mode 100644 index 000000000..271ca61eb --- /dev/null +++ b/examples/charts/nesteddonuts/doc/nesteddonuts.rst @@ -0,0 +1,7 @@ +Nested Donuts Example +===================== + +This example shows how to create a nested donuts chart using the QPieSeries API. + +.. image:: nesteddonuts.png + :alt: Nested Donuts Screenshot diff --git a/examples/charts/percentbarchart/doc/percentbarchart.png b/examples/charts/percentbarchart/doc/percentbarchart.png new file mode 100644 index 000000000..2f254df1b Binary files /dev/null and b/examples/charts/percentbarchart/doc/percentbarchart.png differ diff --git a/examples/charts/percentbarchart/doc/percentbarchart.rst b/examples/charts/percentbarchart/doc/percentbarchart.rst new file mode 100644 index 000000000..abf631f4f --- /dev/null +++ b/examples/charts/percentbarchart/doc/percentbarchart.rst @@ -0,0 +1,17 @@ +Percent Bar Chart Example +========================= + +The example shows how to create a simple percent bar chart. + +A percent bar chart shows the data in sets as a percentage of all sets per +category. + +Creating percent bar charts is just like creating a regular bar chart, except +that for a percent bar charts, we use the QPercentBarSeries API instead of +QBarSeries. Also, in the bar chart, we used the nice numbers algorithm to make +the y-axis numbering look better. With the percent bar chart there is no need +for that, because the maximum y-axis value is always 100. + +.. image:: percentbarchart.png + :width: 400 + :alt: Percent Bar Chart Screenshot diff --git a/examples/charts/piechart/doc/piechart.png b/examples/charts/piechart/doc/piechart.png new file mode 100644 index 000000000..3f3942c0f Binary files /dev/null and b/examples/charts/piechart/doc/piechart.png differ diff --git a/examples/charts/piechart/doc/piechart.rst b/examples/charts/piechart/doc/piechart.rst new file mode 100644 index 000000000..ad60abc68 --- /dev/null +++ b/examples/charts/piechart/doc/piechart.rst @@ -0,0 +1,8 @@ +Pie Chart Example +================= + +The example shows how to create a simple pie chart and do some customizations to a pie slice. + +.. image:: piechart.png + :width: 400 + :alt: Pie Chart Screenshot diff --git a/examples/charts/qmlpolarchart/doc/qmlpolarchart.png b/examples/charts/qmlpolarchart/doc/qmlpolarchart.png new file mode 100644 index 000000000..7fbb63d82 Binary files /dev/null and b/examples/charts/qmlpolarchart/doc/qmlpolarchart.png differ diff --git a/examples/charts/qmlpolarchart/doc/qmlpolarchart.rst b/examples/charts/qmlpolarchart/doc/qmlpolarchart.rst new file mode 100644 index 000000000..30b7b919f --- /dev/null +++ b/examples/charts/qmlpolarchart/doc/qmlpolarchart.rst @@ -0,0 +1,8 @@ +QML Polar Chart Example +======================= + +This is a demonstration on how to use a polar chart in your QML application. + +.. image:: qmlpolarchart.png + :width: 400 + :alt: QML Polar Chart Screenshot diff --git a/examples/charts/temperaturerecords/doc/temperaturerecords.png b/examples/charts/temperaturerecords/doc/temperaturerecords.png new file mode 100644 index 000000000..8d486c552 Binary files /dev/null and b/examples/charts/temperaturerecords/doc/temperaturerecords.png differ diff --git a/examples/charts/temperaturerecords/doc/temperaturerecords.rst b/examples/charts/temperaturerecords/doc/temperaturerecords.rst new file mode 100644 index 000000000..3b13817fb --- /dev/null +++ b/examples/charts/temperaturerecords/doc/temperaturerecords.rst @@ -0,0 +1,10 @@ +Temperature Records Example +=========================== + +The example shows how to create a bar chart with negative bars. + +For our example we use temperature data. + +.. image:: temperaturerecords.png + :width: 400 + :alt: Temperature Records Screenshot -- cgit v1.2.3