diff options
Diffstat (limited to 'doc/source/sample_code/index.rst')
-rw-r--r-- | doc/source/sample_code/index.rst | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/doc/source/sample_code/index.rst b/doc/source/sample_code/index.rst index 0aade4c..2bbfc29 100644 --- a/doc/source/sample_code/index.rst +++ b/doc/source/sample_code/index.rst @@ -343,6 +343,10 @@ Sample code that illustrates some functionalities of :class:`~silx.gui.plot.Plot In this example a thread calls submitToQtMainThread to update the curve of a plot. + * - :download:`plotUpdateImageFromGevent.py <../../../examples/plotUpdateImageFromGevent.py>` + - .. image:: img/plotUpdateImageFromGevent.png + :width: 150px + - This script illustrates the update of a :class:`~silx.gui.plot.Plot2D` widget from a gevent coroutine. * - :download:`plotUpdateImageFromThread.py <../../../examples/plotUpdateImageFromThread.py>` - .. image:: img/plotUpdateImageFromThread.png :width: 150px @@ -361,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 @@ -382,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: @@ -445,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 ++++++++++++++++++++++++++ |