fsleyes.controls.plottoolbar

This module provides the PlotToolBar class, a toolbar for use with an OverlayPlotPanel.

class fsleyes.controls.plottoolbar.PlotToolBar(parent, overlayList, displayCtx, frame, plotPanel)

Bases: fsleyes.controls.controlpanel.ControlToolBar

The PlotToolBar is a toolbar for use with an OverlayPlotPanel. It creates toolbar controls which are common to all OverlayPlotPanel types.

__init__(parent, overlayList, displayCtx, frame, plotPanel)

Create a PlotToolBar.

Parameters:
destroy()

Must be called when this PlotToolBar is no longer needed. Clears some references and calls the base class implementation.

getCommonTools()

Returns a list containing the toolbar widgets added by this PlotToolBar.

getCommonNavOrder()

Returns a list containing the navigation order for tools added by this PlotToolBar.

getPlotPanel()

Returns the OverlayPlotPanel bound to this PlotToolBar.

__module__ = 'fsleyes.controls.plottoolbar'