fsleyes.controls.plottoolbar

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

class fsleyes.controls.plottoolbar.PlotToolBar(parent, overlayList, displayCtx, plotPanel)[source]

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.

static supportedViews()[source]

The PlotToolBar is restricted for use with OverlayPlotPanel views. This method may be overridden by sub-classes.

static ignoreControl()[source]

The PlotToolBar is not intended to be used directly.

__init__(parent, overlayList, displayCtx, plotPanel)[source]

Create a PlotToolBar.

Parameters
destroy()[source]

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

getCommonTools()[source]

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

getCommonNavOrder()[source]

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

getPlotPanel()[source]

Returns the OverlayPlotPanel bound to this PlotToolBar.

__annotations__ = {}
__module__ = 'fsleyes.controls.plottoolbar'