Ejemplo n.º 1
0
Archivo: qt.py Proyecto: robintw/glue
def _load_ui_pyqt5(path, parent):
    from PyQt5.uic import loadUi
    return loadUi(path, parent)
Ejemplo n.º 2
0
def _load_ui_pyqt5(path, parent):
    from PyQt5.uic import loadUi
    return loadUi(path, parent)
Ejemplo n.º 3
0
Archivo: qt.py Proyecto: robintw/glue
def _load_ui_pyside(path, parent, custom_widgets=None):
    from PySide import loadUi
    if custom_widgets is not None:
        custom_widgets = dict(
            (widget.__name__, widget) for widget in custom_widgets)
    return loadUi(path, parent, customWidgets=custom_widgets)
Ejemplo n.º 4
0
def _load_ui_pyside(path, parent, custom_widgets=None):
    from PySide import loadUi
    if custom_widgets is not None:
        custom_widgets = dict((widget.__name__, widget) for widget in custom_widgets)
    return loadUi(path, parent, customWidgets=custom_widgets)