package documentation

Abstraction for different Python Qt bindings.

Supported Python Qt 5 bindings are PyQt and PySide. The Qt modules can be imported like this:

from python_qt_binding.QtCore import QObject from python_qt_binding import QtGui, loadUi

The name of the selected binding is available in QT_BINDING. The version of the selected binding is available in QT_BINDING_VERSION. All available Qt modules are listed in QT_BINDING_MODULES.

The default binding order ('pyqt', 'pyside') can be overridden with a SELECT_QT_BINDING_ORDER attribute on sys:

setattr(sys, 'SELECT_QT_BINDING_ORDER', [FIRST_NAME, NEXT_NAME, ..])
A specific binding can be selected with a SELECT_QT_BINDING attribute on sys:
setattr(sys, 'SELECT_QT_BINDING', MY_BINDING_NAME)
Module binding_helper No module docstring; 0/3 constant, 1/7 function documented
Module QtBindingHelper Undocumented