It is possible to use silx.gui
widgets (and in general widgets based on PyQt) from the Qt Designer.
The following silx.gui
widgets are available in the Qt Designer:
- :class:`silx.gui.plot.Plot1D`
- :class:`silx.gui.plot.Plot2D`
- :class:`silx.gui.plot.PlotWidget`
- :class:`silx.gui.plot.PlotWindow`
The following software must be installed:
- Qt with the Qt Designer.
- Python.
- PyQt with the designer plugin.
- The
silx
Python package and its dependencies. :mod:`silx.gui.plot` widgets require matplotlib.
The PYQTDESIGNERPATH environment variable defines the search paths for plugins enabling the use of PyQt widgets in the Qt designer.
To access silx.gui
widgets from within Qt designer, under Linux, type from the command line:
PYQTDESIGNERPATH=<silx_designer_plugin_dir> designer
See "using Qt Designer" in the PyQt documentation.