Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Properties | Public Slots | Public Member Functions | Protected Attributes
qMRMLPlotWidget Class Reference

qMRMLPlotWidget is the toplevel Plotting widget that can be packed in a layout. More...

#include <Libs/MRML/Widgets/qMRMLPlotWidget.h>

Inheritance diagram for qMRMLPlotWidget:
Inheritance graph
[legend]
Collaboration diagram for qMRMLPlotWidget:
Collaboration graph
[legend]

Public Types

typedef qMRMLWidget Superclass
 Superclass typedef. More...
 
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 

Properties

QString viewLabel
 

Public Slots

void setMRMLPlotViewNode (vtkMRMLPlotViewNode *newPlotViewNode)
 Set the current viewNode to observe. More...
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Public Member Functions

Q_INVOKABLE vtkMRMLPlotViewNodemrmlPlotViewNode () const
 Get the Plot node observed by view. More...
 
Q_INVOKABLE qMRMLPlotViewControllerWidgetplotController () const
 Get plot view controller widget. More...
 
Q_INVOKABLE qMRMLPlotViewplotView () const
 
 qMRMLPlotWidget (QWidget *parent=nullptr)
 Constructors. More...
 
void setViewLabel (const QString &newPlotViewLabel)
 
QString viewLabel () const
 
 ~qMRMLPlotWidget () override
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 
 ~qMRMLWidget () override
 

Protected Attributes

QScopedPointer< qMRMLPlotWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
 
static Q_INVOKABLE void preInitializeApplication ()
 

Detailed Description

qMRMLPlotWidget is the toplevel Plotting widget that can be packed in a layout.

qMRMLPlotWidget provides plotting capabilities with a display canvas for the plot and a controller widget to control the content and properties of the plot.

Definition at line 43 of file qMRMLPlotWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 49 of file qMRMLPlotWidget.h.

Property Documentation

◆ viewLabel

QString qMRMLPlotWidget::viewLabel
readwrite

Definition at line 46 of file qMRMLPlotWidget.h.

Constructor & Destructor Documentation

◆ qMRMLPlotWidget()

qMRMLPlotWidget::qMRMLPlotWidget ( QWidget *  parent = nullptr)
explicit

Constructors.

◆ ~qMRMLPlotWidget()

qMRMLPlotWidget::~qMRMLPlotWidget ( )
override

Member Function Documentation

◆ mrmlPlotViewNode()

Q_INVOKABLE vtkMRMLPlotViewNode* qMRMLPlotWidget::mrmlPlotViewNode ( ) const

Get the Plot node observed by view.

◆ plotController()

Q_INVOKABLE qMRMLPlotViewControllerWidget* qMRMLPlotWidget::plotController ( ) const

Get plot view controller widget.

◆ plotView()

Q_INVOKABLE qMRMLPlotView* qMRMLPlotWidget::plotView ( ) const

Get a reference to the underlying Plot View Becareful if you change the PlotView, you might unsynchronize the view from the nodes/logics.

◆ setMRMLPlotViewNode

void qMRMLPlotWidget::setMRMLPlotViewNode ( vtkMRMLPlotViewNode newPlotViewNode)
slot

Set the current viewNode to observe.

◆ setViewLabel()

void qMRMLPlotWidget::setViewLabel ( const QString &  newPlotViewLabel)

Set the view label for the Plot.

See also
qMRMLPlotControllerWidget::PlotViewLabel()
PlotViewLabel()

◆ viewLabel()

QString qMRMLPlotWidget::viewLabel ( ) const

Get the view label for the Plot.

See also
qMRMLPlotControllerWidget::PlotViewLabel()
setPlotViewLabel()

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLPlotWidgetPrivate> qMRMLPlotWidget::d_ptr
protected

Definition at line 81 of file qMRMLPlotWidget.h.


The documentation for this class was generated from the following file: