1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 04:19:55 +01:00
Clementine-audio-player-Mac.../data/pythonlibs/uic/__init__.py

22 lines
689 B
Python

__all__ = ("loadUi")
def loadUi(uifile, baseinstance=None):
"""loadUi(uifile, baseinstance=None) -> widget
Load a Qt Designer .ui file and return an instance of the user interface.
uifile is a file name or file-like object containing the .ui file.
baseinstance is an optional instance of the Qt base class. If specified
then the user interface is created in it. Otherwise a new instance of the
base class is automatically created.
"""
from uic.Loader.loader import DynamicUILoader
return DynamicUILoader().loadUi(uifile, baseinstance)
# The list of directories that are searched for widget plugins.
from uic.objcreator import widgetPluginPath