diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2024-02-05 16:30:07 +0100 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2024-02-05 16:30:07 +0100 |
commit | 04095a69f18767d222b16fae5b40f2b712cd6f7e (patch) | |
tree | d20abd3ee2f237319443e9dfd7500ad55d29a33d /doc/source/sample_code | |
parent | 3427caf0e96690e56aac6231a91df8f0f7a64fc2 (diff) |
New upstream version 2.0.0+dfsg
Diffstat (limited to 'doc/source/sample_code')
-rw-r--r-- | doc/source/sample_code/img/compareBackends.png | bin | 0 -> 63046 bytes | |||
-rw-r--r-- | doc/source/sample_code/img/compositeline.png | bin | 23150 -> 0 bytes | |||
-rw-r--r-- | doc/source/sample_code/img/floatedit.png | bin | 0 -> 4511 bytes | |||
-rw-r--r-- | doc/source/sample_code/img/stackedprogressbar.png | bin | 0 -> 6508 bytes | |||
-rw-r--r-- | doc/source/sample_code/img/waiterOverlay.png | bin | 0 -> 41574 bytes | |||
-rw-r--r-- | doc/source/sample_code/index.rst | 30 |
6 files changed, 26 insertions, 4 deletions
diff --git a/doc/source/sample_code/img/compareBackends.png b/doc/source/sample_code/img/compareBackends.png Binary files differnew file mode 100644 index 0000000..93dd6b4 --- /dev/null +++ b/doc/source/sample_code/img/compareBackends.png diff --git a/doc/source/sample_code/img/compositeline.png b/doc/source/sample_code/img/compositeline.png Binary files differdeleted file mode 100644 index 8950286..0000000 --- a/doc/source/sample_code/img/compositeline.png +++ /dev/null diff --git a/doc/source/sample_code/img/floatedit.png b/doc/source/sample_code/img/floatedit.png Binary files differnew file mode 100644 index 0000000..075c4a0 --- /dev/null +++ b/doc/source/sample_code/img/floatedit.png diff --git a/doc/source/sample_code/img/stackedprogressbar.png b/doc/source/sample_code/img/stackedprogressbar.png Binary files differnew file mode 100644 index 0000000..cc88cfe --- /dev/null +++ b/doc/source/sample_code/img/stackedprogressbar.png diff --git a/doc/source/sample_code/img/waiterOverlay.png b/doc/source/sample_code/img/waiterOverlay.png Binary files differnew file mode 100644 index 0000000..2166246 --- /dev/null +++ b/doc/source/sample_code/img/waiterOverlay.png diff --git a/doc/source/sample_code/index.rst b/doc/source/sample_code/index.rst index c33d560..2bbfc29 100644 --- a/doc/source/sample_code/index.rst +++ b/doc/source/sample_code/index.rst @@ -365,10 +365,6 @@ Sample code that illustrates some functionalities of :class:`~silx.gui.plot.Plot :width: 150px - This script is an example to illustrate how to use axis synchronization tool. - * - :download:`compositeline.py <../../../examples/compositeline.py>` - - .. image:: img/compositeline.png - :width: 150px - - Example to show the use of markers to draw head and tail of lines. * - :download:`dropZones.py <../../../examples/dropZones.py>` - .. image:: img/dropZones.png :width: 150px @@ -386,6 +382,10 @@ Sample code that illustrates some functionalities of :class:`~silx.gui.plot.Plot :width: 150px - This script is an example to illustrate how to use axis synchronization tool. + * - :download:`compareBackends.py <../../../examples/compareBackends.py>` + - .. image:: img/compareBackends.png + :width: 150px + - This script compares the rendering of PlotWidget's matplotlib and OpenGL backends. .. _plot3d-sample-code: @@ -449,6 +449,28 @@ Sample code that illustrates some functionalities of :class:`~silx.gui.plot.Plot an interactive cutting plane. It can also be started without providing a file. +:mod:`silx.gui.widgets` sample code ++++++++++++++++++++++++++++++++++++ + +.. list-table:: + :widths: 1 1 4 + :header-rows: 1 + + * - Source + - Screenshot + - Description + * - :download:`floatedit.py <../../../examples/floatedit.py>` + - .. image:: img/floatedit.png + :width: 150px + - This script illustrates the use of :class:`silx.gui.widgets.FloatEdit.FloatEdit`. + * - :download:`stackedprogressbar.py <../../../examples/stackedprogressbar.py>` + - .. image:: img/stackedprogressbar.png + :width: 150px + - This script illustrates the use of :class:`silx.gui.widgets.StackedProgressBar.StackedProgressBar`. + * - :download:`waiterOverlay.py <../../../examples/waiterOverlay.py>` + - .. image:: img/waiterOverlay.png + :width: 150px + - Demonstration window that displays a wait icon until the plot is updated. :mod:`silx.io` sample code ++++++++++++++++++++++++++ |