ActionFactory

digraph inheritancef2acba5af3 { rankdir=UD; ratio=compress; size="8.0, 12.0"; "ActionFactory" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A Singleton class designed to provide Action related objects."]; "Singleton" -> "ActionFactory" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Logger" -> "ActionFactory" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Logger" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="The taurus logger class. All taurus pertinent classes should inherit"]; "Object" -> "Logger" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Object" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "Singleton" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="This class allows Singleton objects"]; }
class ActionFactory[source]

Bases: taurus.core.util.singleton.Singleton, taurus.core.util.log.Logger

A Singleton class designed to provide Action related objects.

buildAction(widget, a_node)[source]
buildMenu(widget, m_node)[source]
createAction(parent, text, shortcut=None, icon=None, tip=None, toggled=None, triggered=None, data=None, context=1)[source]

Create a QAction

getActions()[source]
getMenus()[source]
getNewAction(widget, id)[source]
getNewMenu(widget, data)[source]
init(*args)[source]

Singleton instance initialization.