TaurusGraphicsItem
digraph inheritance549c0b650a {
bgcolor=transparent;
rankdir=UD;
ratio=compress;
size="8.0, 12.0";
"BaseConfigurableClass" [URL="taurus.qt.qtcore.configuration-BaseConfigurableClass.html#taurus.qt.qtcore.configuration.BaseConfigurableClass",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="A base class defining the API for configurable objects."];
"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"];
"TaurusBaseComponent" [URL="taurus.qt.qtgui.base-TaurusBaseComponent.html#taurus.qt.qtgui.base.TaurusBaseComponent",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="A generic Taurus component."];
"TaurusListener" -> "TaurusBaseComponent" [arrowsize=0.5,style="setlinewidth(0.5)"];
"BaseConfigurableClass" -> "TaurusBaseComponent" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TaurusGraphicsItem" [URL="#taurus.qt.qtgui.graphic.TaurusGraphicsItem",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="Base class for all Taurus Graphics Items"];
"TaurusBaseComponent" -> "TaurusGraphicsItem" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TaurusListener" [URL="taurus.core.tauruslistener-TaurusListener.html#taurus.core.tauruslistener.TaurusListener",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="TaurusListener Interface"];
"Logger" -> "TaurusListener" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
- class TaurusGraphicsItem(name=None, parent=None)[source]
Base class for all Taurus Graphics Items
Import from
taurus.qt.qtgui.graphic
as:from taurus.qt.qtgui.graphic import TaurusGraphicsItem
- fireEvent(evt_src=None, evt_type=None, evt_value=None)[source]
fires a value changed event to all listeners
- getExtensions()[source]
Any in ExtensionsList,noPrompt,standAlone,noTooltip,noSelect,ignoreRepaint, shellCommand,className,classParams
- getModelClass()[source]
Return the class object for the widget. Default behavior is to do a ‘best effort’ to determine which model type corresponds to the current model name. Overwrite as necessary.
- Returns:
The class object corresponding to the type of Taurus model this widget handles or None if no valid class is found.
- Return type:
class TaurusModel or None
- getParentTaurusComponent()[source]
Returns a parent Taurus component or None if no parent TaurusBaseComponent is found.
- isReadOnly()[source]
Determines if this component is read-only or not in the sense that the user can interact with it. Default implementation returns True.
Override when necessary.
- Returns:
whether or not this component is read-only
- Return type:
bool
- setContextMenu(menu)[source]
Context Menu must be a list of tuples (ActionName,ActionMethod), empty tuples insert separators between options.