Using silx widgets in Qt Designer ================================= With PyQt_, it is possible to use ``silx.gui`` widgets (and widgets written with PyQt in general) 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` Pre-requisite ------------- 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 requires matplotlib_. Usage ----- The **PYQTDESIGNERPATH** environment variable defines the search paths for plugins enabling use of PyQt widgets in the designer. To start the Qt Designer with ``silx.gui`` widgets available, on Linux, run the following from the command line:: PYQTDESIGNERPATH= designer See `Using Qt Designer `_ in PyQt_ documentation. .. _Qt: http://www.qt.io/ .. _Python: https://www.python.org/ .. _PyQt: https://riverbankcomputing.com/software/pyqt/intro .. _Qt Designer: http://doc.qt.io/qt-5/qtdesigner-manual.html .. _matplotlib: http://matplotlib.org/