Slicer
5.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
qMRMLPlotWidget is the toplevel Plotting widget that can be packed in a layout. More...
#include <Libs/MRML/Widgets/qMRMLPlotWidget.h>
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 vtkMRMLPlotViewNode * | mrmlPlotViewNode () const |
Get the Plot node observed by view. More... | |
Q_INVOKABLE qMRMLPlotViewControllerWidget * | plotController () const |
Get plot view controller widget. More... | |
Q_INVOKABLE qMRMLPlotView * | plotView () 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 vtkMRMLScene * | mrmlScene () const |
Return a pointer on the current MRML scene. More... | |
qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
~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 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 () |
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.
Superclass typedef.
Definition at line 49 of file qMRMLPlotWidget.h.
|
readwrite |
Definition at line 46 of file qMRMLPlotWidget.h.
|
explicit |
Constructors.
|
override |
Q_INVOKABLE vtkMRMLPlotViewNode* qMRMLPlotWidget::mrmlPlotViewNode | ( | ) | const |
Get the Plot node observed by view.
Q_INVOKABLE qMRMLPlotViewControllerWidget* qMRMLPlotWidget::plotController | ( | ) | const |
Get plot view controller widget.
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.
|
slot |
Set the current viewNode to observe.
void qMRMLPlotWidget::setViewLabel | ( | const QString & | newPlotViewLabel | ) |
Set the view label for the Plot.
QString qMRMLPlotWidget::viewLabel | ( | ) | const |
Get the view label for the Plot.
|
protected |
Definition at line 81 of file qMRMLPlotWidget.h.