PlotToolButtons
: QToolButtons for plot widgets¶
This module provides a set of QToolButton to use with
PlotWidget
.
The following QToolButton are available:
-
class
PlotToolButton
(parent=None, plot=None)[source]¶ A QToolButton connected to a
PlotWidget
.-
setPlot
(plot)[source]¶ Set the plot connected to the widget
Parameters: plot – PlotWidget
instance on which to operate.
-
-
class
AspectToolButton
(parent=None, plot=None)[source]¶ Tool button to switch keep aspect ratio of a plot
-
STATE
= None¶ Lazy loaded states used to feed AspectToolButton
-
-
class
YAxisOriginToolButton
(parent=None, plot=None)[source]¶ Tool button to switch the Y axis orientation of a plot.
-
STATE
= None¶ Lazy loaded states used to feed YAxisOriginToolButton
-
-
class
ProfileOptionToolButton
(parent=None, plot=None)[source]¶ Button to define option on the profile
-
getMethod
()[source]¶ Returns the current method in use (See
setMethod()
).Return type: str
-
-
class
ProfileToolButton
(parent=None, plot=None)[source]¶ Button used in Profile3DToolbar to switch between 2D profile and 1D profile.
-
STATE
= None¶ Lazy loaded states used to feed ProfileToolButton
-