Go to the documentation of this file.00001 """
00002 Abstraction for different Python Qt bindings.
00003
00004 Supported Python Qt bindings are PyQt4 and PySide.
00005 The Qt modules can be imported like this:
00006
00007 from python_qt_binding.QtCore import QObject
00008 from python_qt_binding import QtGui, loadUi
00009
00010 All available modules are listed in QT_BINDING_MODULES.
00011 """
00012
00013 import sys
00014 from .binding_helper import loadUi, QT_BINDING, QT_BINDING_MODULES, QT_BINDING_VERSION
00015
00016
00017 for module_name, module in QT_BINDING_MODULES.items():
00018 sys.modules[__name__ + '.' + module_name] = module
00019 setattr(sys.modules[__name__], module_name, module)
00020 del module_name
00021 del module
00022
00023 del sys