# `TaurusWidgetFactory`

digraph inheritance8cb2287e0c { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "Logger" [URL="taurus-Logger.html#taurus.Logger",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="The taurus logger class. All taurus pertinent classes should inherit"]; "Singleton" [URL="taurus.core.util.singleton-Singleton.html#taurus.core.util.singleton.Singleton",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="This class allows Singleton objects"]; "TaurusWidgetFactory" [URL="#taurus.qt.qtgui.util.TaurusWidgetFactory",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="The TaurusWidgetFactory is a utility class that provides information"]; "Singleton" -> "TaurusWidgetFactory" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Logger" -> "TaurusWidgetFactory" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

class TaurusWidgetFactory(*p, **k)

  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)

    Singleton instance initialization.

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