aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/graphs/3d/widgetgallery/doc/widgetgallery.rst11
-rw-r--r--examples/graphs/3d/widgetgraphgallery/axesinputhandler.py (renamed from examples/graphs/3d/widgetgallery/axesinputhandler.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/bargraph.py (renamed from examples/graphs/3d/widgetgallery/bargraph.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/custominputhandler.py (renamed from examples/graphs/3d/widgetgallery/custominputhandler.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/layer_1.png (renamed from examples/graphs/3d/widgetgallery/data/layer_1.png)bin34540 -> 34540 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/layer_2.png (renamed from examples/graphs/3d/widgetgallery/data/layer_2.png)bin10553 -> 10553 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/layer_3.png (renamed from examples/graphs/3d/widgetgallery/data/layer_3.png)bin7119 -> 7119 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/license.txt (renamed from examples/graphs/3d/widgetgallery/data/license.txt)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/maptexture.jpg (renamed from examples/graphs/3d/widgetgallery/data/maptexture.jpg)bin352922 -> 352922 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/narrowarrow.mesh (renamed from examples/graphs/3d/widgetgallery/data/narrowarrow.mesh)bin15420 -> 15420 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/oilrig.mesh (renamed from examples/graphs/3d/widgetgallery/data/oilrig.mesh)bin69728 -> 69728 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/pipe.mesh (renamed from examples/graphs/3d/widgetgallery/data/pipe.mesh)bin4760 -> 4760 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/raindata.txt (renamed from examples/graphs/3d/widgetgallery/data/raindata.txt)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/refinery.mesh (renamed from examples/graphs/3d/widgetgallery/data/refinery.mesh)bin75216 -> 75216 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/data/topography.png (renamed from examples/graphs/3d/widgetgallery/data/topography.png)bin395504 -> 395504 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/doc/widgetgraphgallery.rst11
-rw-r--r--examples/graphs/3d/widgetgraphgallery/doc/widgetgraphgallery.webp (renamed from examples/graphs/3d/widgetgallery/doc/widgetgallery.webp)bin93150 -> 93150 bytes
-rw-r--r--examples/graphs/3d/widgetgraphgallery/graphmodifier.py (renamed from examples/graphs/3d/widgetgallery/graphmodifier.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/highlightseries.py (renamed from examples/graphs/3d/widgetgallery/highlightseries.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/main.py (renamed from examples/graphs/3d/widgetgallery/main.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/rainfalldata.py (renamed from examples/graphs/3d/widgetgallery/rainfalldata.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py (renamed from examples/graphs/3d/widgetgallery/scatterdatamodifier.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/scattergraph.py (renamed from examples/graphs/3d/widgetgallery/scattergraph.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/surfacegraph.py (renamed from examples/graphs/3d/widgetgallery/surfacegraph.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/surfacegraphmodifier.py (renamed from examples/graphs/3d/widgetgallery/surfacegraphmodifier.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/topographicseries.py (renamed from examples/graphs/3d/widgetgallery/topographicseries.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/variantbardatamapping.py (renamed from examples/graphs/3d/widgetgallery/variantbardatamapping.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/variantbardataproxy.py (renamed from examples/graphs/3d/widgetgallery/variantbardataproxy.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/variantdataset.py (renamed from examples/graphs/3d/widgetgallery/variantdataset.py)0
-rw-r--r--examples/graphs/3d/widgetgraphgallery/widgetgraphgallery.pyproject (renamed from examples/graphs/3d/widgetgallery/widgetgallery.pyproject)0
-rw-r--r--examples/samplebinding/doc/samplebinding.rst16
-rw-r--r--examples/scriptableapplication/doc/scriptableapplication.rst13
-rw-r--r--examples/widgetbinding/doc/widgetbinding.md14
33 files changed, 37 insertions, 28 deletions
diff --git a/examples/graphs/3d/widgetgallery/doc/widgetgallery.rst b/examples/graphs/3d/widgetgallery/doc/widgetgallery.rst
deleted file mode 100644
index 1470001d6..000000000
--- a/examples/graphs/3d/widgetgallery/doc/widgetgallery.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-Widget Gallery
-==============
-
-
-Widget Gallery demonstrates all three graph types and some of their special
-features. The graphs have their own tabs in the application.
-
-
-.. image:: widgetgallery.webp
- :width: 400
- :alt: Widget Screenshot
diff --git a/examples/graphs/3d/widgetgallery/axesinputhandler.py b/examples/graphs/3d/widgetgraphgallery/axesinputhandler.py
index 4c4202974..4c4202974 100644
--- a/examples/graphs/3d/widgetgallery/axesinputhandler.py
+++ b/examples/graphs/3d/widgetgraphgallery/axesinputhandler.py
diff --git a/examples/graphs/3d/widgetgallery/bargraph.py b/examples/graphs/3d/widgetgraphgallery/bargraph.py
index 822acb4a9..822acb4a9 100644
--- a/examples/graphs/3d/widgetgallery/bargraph.py
+++ b/examples/graphs/3d/widgetgraphgallery/bargraph.py
diff --git a/examples/graphs/3d/widgetgallery/custominputhandler.py b/examples/graphs/3d/widgetgraphgallery/custominputhandler.py
index 15fe00e70..15fe00e70 100644
--- a/examples/graphs/3d/widgetgallery/custominputhandler.py
+++ b/examples/graphs/3d/widgetgraphgallery/custominputhandler.py
diff --git a/examples/graphs/3d/widgetgallery/data/layer_1.png b/examples/graphs/3d/widgetgraphgallery/data/layer_1.png
index 9138c710a..9138c710a 100644
--- a/examples/graphs/3d/widgetgallery/data/layer_1.png
+++ b/examples/graphs/3d/widgetgraphgallery/data/layer_1.png
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/data/layer_2.png b/examples/graphs/3d/widgetgraphgallery/data/layer_2.png
index 61631ae8b..61631ae8b 100644
--- a/examples/graphs/3d/widgetgallery/data/layer_2.png
+++ b/examples/graphs/3d/widgetgraphgallery/data/layer_2.png
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/data/layer_3.png b/examples/graphs/3d/widgetgraphgallery/data/layer_3.png
index 066ffbe75..066ffbe75 100644
--- a/examples/graphs/3d/widgetgallery/data/layer_3.png
+++ b/examples/graphs/3d/widgetgraphgallery/data/layer_3.png
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/data/license.txt b/examples/graphs/3d/widgetgraphgallery/data/license.txt
index 749daf31f..749daf31f 100644
--- a/examples/graphs/3d/widgetgallery/data/license.txt
+++ b/examples/graphs/3d/widgetgraphgallery/data/license.txt
diff --git a/examples/graphs/3d/widgetgallery/data/maptexture.jpg b/examples/graphs/3d/widgetgraphgallery/data/maptexture.jpg
index ae5d66ebe..ae5d66ebe 100644
--- a/examples/graphs/3d/widgetgallery/data/maptexture.jpg
+++ b/examples/graphs/3d/widgetgraphgallery/data/maptexture.jpg
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/data/narrowarrow.mesh b/examples/graphs/3d/widgetgraphgallery/data/narrowarrow.mesh
index 288867b1e..288867b1e 100644
--- a/examples/graphs/3d/widgetgallery/data/narrowarrow.mesh
+++ b/examples/graphs/3d/widgetgraphgallery/data/narrowarrow.mesh
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/data/oilrig.mesh b/examples/graphs/3d/widgetgraphgallery/data/oilrig.mesh
index 4a7baeddf..4a7baeddf 100644
--- a/examples/graphs/3d/widgetgallery/data/oilrig.mesh
+++ b/examples/graphs/3d/widgetgraphgallery/data/oilrig.mesh
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/data/pipe.mesh b/examples/graphs/3d/widgetgraphgallery/data/pipe.mesh
index 984b6d443..984b6d443 100644
--- a/examples/graphs/3d/widgetgallery/data/pipe.mesh
+++ b/examples/graphs/3d/widgetgraphgallery/data/pipe.mesh
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/data/raindata.txt b/examples/graphs/3d/widgetgraphgallery/data/raindata.txt
index d95589219..d95589219 100644
--- a/examples/graphs/3d/widgetgallery/data/raindata.txt
+++ b/examples/graphs/3d/widgetgraphgallery/data/raindata.txt
diff --git a/examples/graphs/3d/widgetgallery/data/refinery.mesh b/examples/graphs/3d/widgetgraphgallery/data/refinery.mesh
index a7e249353..a7e249353 100644
--- a/examples/graphs/3d/widgetgallery/data/refinery.mesh
+++ b/examples/graphs/3d/widgetgraphgallery/data/refinery.mesh
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/data/topography.png b/examples/graphs/3d/widgetgraphgallery/data/topography.png
index 9349cdb31..9349cdb31 100644
--- a/examples/graphs/3d/widgetgallery/data/topography.png
+++ b/examples/graphs/3d/widgetgraphgallery/data/topography.png
Binary files differ
diff --git a/examples/graphs/3d/widgetgraphgallery/doc/widgetgraphgallery.rst b/examples/graphs/3d/widgetgraphgallery/doc/widgetgraphgallery.rst
new file mode 100644
index 000000000..33a4da15b
--- /dev/null
+++ b/examples/graphs/3d/widgetgraphgallery/doc/widgetgraphgallery.rst
@@ -0,0 +1,11 @@
+Widget Graph Gallery
+====================
+
+
+Widget Graph Gallery demonstrates all three graph types and some of their
+special features. The graphs have their own tabs in the application.
+
+
+.. image:: widgetgraphgallery.webp
+ :width: 400
+ :alt: Widget Screenshot
diff --git a/examples/graphs/3d/widgetgallery/doc/widgetgallery.webp b/examples/graphs/3d/widgetgraphgallery/doc/widgetgraphgallery.webp
index eb5767264..eb5767264 100644
--- a/examples/graphs/3d/widgetgallery/doc/widgetgallery.webp
+++ b/examples/graphs/3d/widgetgraphgallery/doc/widgetgraphgallery.webp
Binary files differ
diff --git a/examples/graphs/3d/widgetgallery/graphmodifier.py b/examples/graphs/3d/widgetgraphgallery/graphmodifier.py
index 2eaafa792..2eaafa792 100644
--- a/examples/graphs/3d/widgetgallery/graphmodifier.py
+++ b/examples/graphs/3d/widgetgraphgallery/graphmodifier.py
diff --git a/examples/graphs/3d/widgetgallery/highlightseries.py b/examples/graphs/3d/widgetgraphgallery/highlightseries.py
index 8c7b91633..8c7b91633 100644
--- a/examples/graphs/3d/widgetgallery/highlightseries.py
+++ b/examples/graphs/3d/widgetgraphgallery/highlightseries.py
diff --git a/examples/graphs/3d/widgetgallery/main.py b/examples/graphs/3d/widgetgraphgallery/main.py
index 7bb2238a7..7bb2238a7 100644
--- a/examples/graphs/3d/widgetgallery/main.py
+++ b/examples/graphs/3d/widgetgraphgallery/main.py
diff --git a/examples/graphs/3d/widgetgallery/rainfalldata.py b/examples/graphs/3d/widgetgraphgallery/rainfalldata.py
index d74f45a8b..d74f45a8b 100644
--- a/examples/graphs/3d/widgetgallery/rainfalldata.py
+++ b/examples/graphs/3d/widgetgraphgallery/rainfalldata.py
diff --git a/examples/graphs/3d/widgetgallery/scatterdatamodifier.py b/examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py
index 15064b412..15064b412 100644
--- a/examples/graphs/3d/widgetgallery/scatterdatamodifier.py
+++ b/examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py
diff --git a/examples/graphs/3d/widgetgallery/scattergraph.py b/examples/graphs/3d/widgetgraphgallery/scattergraph.py
index 79e8933eb..79e8933eb 100644
--- a/examples/graphs/3d/widgetgallery/scattergraph.py
+++ b/examples/graphs/3d/widgetgraphgallery/scattergraph.py
diff --git a/examples/graphs/3d/widgetgallery/surfacegraph.py b/examples/graphs/3d/widgetgraphgallery/surfacegraph.py
index 4052da821..4052da821 100644
--- a/examples/graphs/3d/widgetgallery/surfacegraph.py
+++ b/examples/graphs/3d/widgetgraphgallery/surfacegraph.py
diff --git a/examples/graphs/3d/widgetgallery/surfacegraphmodifier.py b/examples/graphs/3d/widgetgraphgallery/surfacegraphmodifier.py
index b2706c6fa..b2706c6fa 100644
--- a/examples/graphs/3d/widgetgallery/surfacegraphmodifier.py
+++ b/examples/graphs/3d/widgetgraphgallery/surfacegraphmodifier.py
diff --git a/examples/graphs/3d/widgetgallery/topographicseries.py b/examples/graphs/3d/widgetgraphgallery/topographicseries.py
index 4f286a222..4f286a222 100644
--- a/examples/graphs/3d/widgetgallery/topographicseries.py
+++ b/examples/graphs/3d/widgetgraphgallery/topographicseries.py
diff --git a/examples/graphs/3d/widgetgallery/variantbardatamapping.py b/examples/graphs/3d/widgetgraphgallery/variantbardatamapping.py
index 50bdefa6a..50bdefa6a 100644
--- a/examples/graphs/3d/widgetgallery/variantbardatamapping.py
+++ b/examples/graphs/3d/widgetgraphgallery/variantbardatamapping.py
diff --git a/examples/graphs/3d/widgetgallery/variantbardataproxy.py b/examples/graphs/3d/widgetgraphgallery/variantbardataproxy.py
index 5ab2a2cd2..5ab2a2cd2 100644
--- a/examples/graphs/3d/widgetgallery/variantbardataproxy.py
+++ b/examples/graphs/3d/widgetgraphgallery/variantbardataproxy.py
diff --git a/examples/graphs/3d/widgetgallery/variantdataset.py b/examples/graphs/3d/widgetgraphgallery/variantdataset.py
index 752bc3887..752bc3887 100644
--- a/examples/graphs/3d/widgetgallery/variantdataset.py
+++ b/examples/graphs/3d/widgetgraphgallery/variantdataset.py
diff --git a/examples/graphs/3d/widgetgallery/widgetgallery.pyproject b/examples/graphs/3d/widgetgraphgallery/widgetgraphgallery.pyproject
index 581b21483..581b21483 100644
--- a/examples/graphs/3d/widgetgallery/widgetgallery.pyproject
+++ b/examples/graphs/3d/widgetgraphgallery/widgetgraphgallery.pyproject
diff --git a/examples/samplebinding/doc/samplebinding.rst b/examples/samplebinding/doc/samplebinding.rst
index defb55d6b..51b6b4c20 100644
--- a/examples/samplebinding/doc/samplebinding.rst
+++ b/examples/samplebinding/doc/samplebinding.rst
@@ -165,23 +165,27 @@ Using CMake
You can build and run this example by executing the following commands
(slightly adapted to your file system layout) in a terminal:
-macOS/Linux:
+Run CMake on macOS/Linux:
.. code-block:: bash
cd ~/pyside-setup/examples/samplebinding
+ mkdir build
+ cd build
+ cmake .. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release
-On Windows:
+Run CMake on Windows:
.. code-block:: bash
cd C:\pyside-setup\examples\samplebinding
-
-.. code-block:: bash
-
mkdir build
cd build
- cmake -S.. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=cl.exe
+ cmake .. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=cl.exe
+
+To build:
+
+.. code-block:: bash
ninja
ninja install
cd ..
diff --git a/examples/scriptableapplication/doc/scriptableapplication.rst b/examples/scriptableapplication/doc/scriptableapplication.rst
index 146911f13..bbabb1247 100644
--- a/examples/scriptableapplication/doc/scriptableapplication.rst
+++ b/examples/scriptableapplication/doc/scriptableapplication.rst
@@ -72,21 +72,22 @@ macOS/Linux:
.. code-block:: bash
cd ~/pyside-setup/examples/scriptableapplication
+ mkdir build
+ cd build
+ cmake .. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release
+ ninja
+ ./scriptableapplication
On Windows:
.. code-block:: bash
cd C:\pyside-setup\examples\scriptableapplication
-
-
-.. code-block:: bash
-
mkdir build
cd build
- cmake -S.. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release
+ cmake .. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=cl.exe
ninja
- ./scriptableapplication
+ .\scriptableapplication.exe
Using QMake
+++++++++++
diff --git a/examples/widgetbinding/doc/widgetbinding.md b/examples/widgetbinding/doc/widgetbinding.md
index 6355ea311..910961b1e 100644
--- a/examples/widgetbinding/doc/widgetbinding.md
+++ b/examples/widgetbinding/doc/widgetbinding.md
@@ -40,20 +40,24 @@ The most important files are:
Now create a `build/` directory, and from inside run `cmake` to use
the provided `CMakeLists.txt`:
-macOS/Linux:
+Run CMake on macOS/Linux:
```bash
cd ~/pyside-setup/examples/widgetbinding
+cd build
+cmake .. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release
```
-On Windows:
+Run CMake on Windows:
```bash
cd C:\pyside-setup\examples\widgetbinding
+mkdir build
+cd build
+cmake .. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=cl.exe
```
+To build:
```bash
-mkdir build
-cd build
-cmake -S.. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release
+
ninja
ninja install
cd ..