Slicer
5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Libs/MRML/Widgets/qMRMLPlotViewControllerWidget.h>
Public Types | |
typedef qMRMLViewControllerBar | Superclass |
Superclass typedef. More... | |
Public Types inherited from qMRMLViewControllerBar | |
enum | LayoutBehavior { Popup =0, Panel } |
typedef qMRMLWidget | Superclass |
Superclass typedef. More... | |
Public Types inherited from qMRMLWidget | |
typedef QWidget | Superclass |
Public Slots | |
void | fitPlotToAxes () |
void | onExportButton () |
Save the selected plot to a file. More... | |
void | setMRMLPlotViewNode (vtkMRMLPlotViewNode *PlotViewNode) |
void | setMRMLScene (vtkMRMLScene *newScene) override |
Set the scene. More... | |
void | setPlotView (qMRMLPlotView *PlotView) |
Set the PlotView with which this controller interacts. More... | |
Public Slots inherited from qMRMLViewControllerBar | |
void | maximizeView () |
void | setShowMaximizeViewButton (bool show) |
Public Slots inherited from qMRMLWidget | |
virtual void | setMRMLScene (vtkMRMLScene *newScene) |
Set the MRML scene associated with the widget. More... | |
Public Member Functions | |
Q_INVOKABLE vtkMRMLPlotViewNode * | mrmlPlotViewNode () const |
Get PlotViewNode associated with this PlotViewController. More... | |
qMRMLPlotViewControllerWidget (QWidget *parent=nullptr) | |
Constructors. More... | |
void | setViewLabel (const QString &newViewLabel) |
Set the label for the Plot view (abbreviation for the view name). More... | |
QString | viewLabel () const |
Get the label for the view (abbreviation for the view name). More... | |
~qMRMLPlotViewControllerWidget () override | |
Public Member Functions inherited from qMRMLViewControllerBar | |
Q_INVOKABLE QLayout * | barLayout () |
Q_INVOKABLE QWidget * | barWidget () |
Q_INVOKABLE QToolButton * | pinButton () |
Push-pin icon that shows additional options when clicked. More... | |
qMRMLViewControllerBar (QWidget *parent=nullptr) | |
Constructors. More... | |
Q_INVOKABLE void | setLayoutBehavior (LayoutBehavior behavior) |
bool | showMaximizeViewButton () const |
Q_INVOKABLE QLabel * | viewLabel () |
Label that displays the view's name. More... | |
~qMRMLViewControllerBar () override | |
Public Member Functions inherited from qMRMLWidget | |
Q_INVOKABLE vtkMRMLScene * | mrmlScene () const |
Return a pointer on the current MRML scene. More... | |
qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
~qMRMLWidget () override | |
Protected Slots | |
void | updateWidgetFromMRML () |
void | updateWidgetFromMRMLView () override |
Protected Slots inherited from qMRMLViewControllerBar | |
virtual void | updateWidgetFromMRMLView () |
Additional Inherited Members | |
Properties inherited from qMRMLViewControllerBar | |
bool | showMaximizeViewButton |
Signals inherited from qMRMLWidget | |
void | mrmlSceneChanged (vtkMRMLScene *) |
Static Public Member Functions inherited from qMRMLWidget | |
static Q_INVOKABLE QPixmap | pixmapFromIcon (const QIcon &icon) |
static Q_INVOKABLE void | postInitializeApplication () |
Initialization that needs to be performed after application object is created. More... | |
static Q_INVOKABLE void | preInitializeApplication () |
Protected Member Functions inherited from qMRMLViewControllerBar | |
virtual vtkMRMLAbstractViewNode * | mrmlViewNode () const |
qMRMLViewControllerBar (qMRMLViewControllerBarPrivate *pimpl, QWidget *parent=nullptr) | |
virtual void | setMRMLViewNode (vtkMRMLAbstractViewNode *viewNode) |
Protected Attributes inherited from qMRMLViewControllerBar | |
QScopedPointer< qMRMLViewControllerBarPrivate > | d_ptr |
Protected Attributes inherited from qMRMLWidget | |
QScopedPointer< qMRMLWidgetPrivate > | d_ptr |
qMRMLPlotViewControllerWidget offers controls to a Plot view (vtkMRMLPlotChartNode and vtkMRMLPlotSeriesNode). This controller allows for the content (data) and style (properties) of a plot to be defined.
Definition at line 39 of file qMRMLPlotViewControllerWidget.h.
Superclass typedef.
Definition at line 47 of file qMRMLPlotViewControllerWidget.h.
|
explicit |
Constructors.
|
override |
|
slot |
Adjust the chart viewer's field of view to match the extent of the chart axes.
Q_INVOKABLE vtkMRMLPlotViewNode* qMRMLPlotViewControllerWidget::mrmlPlotViewNode | ( | ) | const |
Get PlotViewNode associated with this PlotViewController.
|
slot |
Save the selected plot to a file.
|
slot |
Set the PlotViewNode associated with this PlotViewController. PlotViewNodes are 1-to-1 with PlotViews
|
overrideslot |
Set the scene.
|
slot |
Set the PlotView with which this controller interacts.
void qMRMLPlotViewControllerWidget::setViewLabel | ( | const QString & | newViewLabel | ) |
Set the label for the Plot view (abbreviation for the view name).
|
protectedslot |
|
overrideprotectedslot |
QString qMRMLPlotViewControllerWidget::viewLabel | ( | ) | const |
Get the label for the view (abbreviation for the view name).