def _ui_dialog(ui, parent, style):
    if ui.owner is None:
        ui.owner = _LiveWindow()

    BaseDialog.display_ui(ui, parent, style)
Creates a live PyQt user interface for a specified UI object.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/ui_live.py/_ui_dialog