qt: Qt bindings

Common wrapper over Python Qt bindings: PyQt5, PyQt4, PySide.

This module provides a flattened namespace over Qt bindings.

If a Qt bindings is already loaded, it will be used, otherwise the different bindings are tried in this order: PyQt4, PySide, PyQt5.

The name of the loaded Qt bindings is stored in the BINDING variable.

For an alternative solution providing a structured namespace, see qtpy which provides the namespace of PyQt5 over PyQt4 and PySide.

silx.gui.qt.BINDING = 'PyQt4'

The Python Qt binding that is used (One of: ‘PySide’, ‘PyQt5’, ‘PyQt4’).

Previous topic

Package structure

Next topic

icons: Set of icons

This Page