TaurusWidgetFactory

Inheritance diagram of TaurusWidgetFactory
class TaurusWidgetFactory(*p, **k)[source]

The TaurusWidgetFactory is a utility class that provides information about all Qt widgets (Taurus and non Taurus) that are found in the current taurus distribution. TaurusWidgetFactory is a singleton class so you can freely create new instances since they will all reference the same object. Usage:

from taurus.qt.qtgui.util import TaurusWidgetFactory

wf = TaurusWidgetFactory()
print(wf.getTaurusWidgetClassNames())

Import from taurus.qt.qtgui.util as:

from taurus.qt.qtgui.util import TaurusWidgetFactory
getTaurusWidgetClass(**kwargs)

Deprecated since version 5.0.0: Use importlib instead

getTaurusWidgetClassNames(**kwargs)

Deprecated since version 5.0.0.

getTaurusWidgetClasses(**kwargs)

Deprecated since version 5.0.0.

getTaurusWidgets(**kwargs)

Deprecated since version 5.0.0.

getWidgetClass(**kwargs)

Deprecated since version 5.0.0: Use importlib instead

getWidgetClassNames(**kwargs)

Deprecated since version 5.0.0.

getWidgetClasses(**kwargs)

Deprecated since version 5.0.0.

getWidgets(**kwargs)

Deprecated since version 5.0.0.

init(*args)[source]

Singleton instance initialization.

skip_modules = ('widget', 'util', 'qtdesigner', 'uic', 'resource', 'console', 'style', 'plot')