load_ui

glue.utils.qt.load_ui(path, parent=None, directory=None)[source]

Load a .ui file

Parameters:

path : str

Name of ui file to load

parent : QObject

Object to use as the parent of this widget

Returns:

w : QtGui.QWidget

The new widget