AutoScrollTool

digraph inheritance0463e2aab4 { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "AutoScrollTool" [URL="#taurus.qt.qtgui.extra_guiqwt.tools.AutoScrollTool",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 tool that puts the plot in \"AutoScroll\" mode."]; "ToggleTool" -> "AutoScrollTool" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BaseConfigurableClass" -> "AutoScrollTool" [arrowsize=0.5,style="setlinewidth(0.5)"]; "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."]; "CommandTool" [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,tooltip="Base class for command tools: action, context menu entry"]; "GuiTool" -> "CommandTool" [arrowsize=0.5,style="setlinewidth(0.5)"]; "GuiTool" [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,tooltip="Base class for interactive tool applying on a plot"]; "QObject" -> "GuiTool" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QObject" [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,tooltip="QObject(parent: QObject = None)"]; "wrapper" -> "QObject" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ToggleTool" [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]; "CommandTool" -> "ToggleTool" [arrowsize=0.5,style="setlinewidth(0.5)"]; "simplewrapper" [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]; "wrapper" [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]; "simplewrapper" -> "wrapper" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class AutoScrollTool(manager, scrollFactor=0.2, toolbar_id=None)[source]

A tool that puts the plot in “AutoScroll” mode. This makes sense in trend plots where we want to keep the last value always visible

Import from taurus.qt.qtgui.extra_guiqwt.tools as:

from taurus.qt.qtgui.extra_guiqwt.tools import AutoScrollTool
activate_command(plot, checked)[source]

Activate tool

getScrollItems(plot)[source]
items_changed(plot)[source]
onScrollRequested(plot, axis, value)[source]
register_plot(baseplot)[source]

Every BasePlot using this tool should call register_plot to notify the tool about this widget using it

setChecked(checked)[source]