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 | Public Slots | Public Member Functions | Protected Slots | Protected Attributes
qMRMLChartWidget Class Reference

qMRMLChartWidget is the toplevel charting widget that can be packed in a layout. More...

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

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

Public Types

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

Public Slots

void setMRMLChartViewNode (vtkMRMLChartViewNode *newChartViewNode)
 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 qMRMLChartViewchartView () const
 
vtkMRMLColorLogiccolorLogic () const
 
vtkMRMLChartViewNodemrmlChartViewNode () const
 Get the chart node observed by view. More...
 
 qMRMLChartWidget (QWidget *parent=nullptr)
 Constructors. More...
 
void setColorLogic (vtkMRMLColorLogic *colorLogic)
 Set the color logic that is used by the view. More...
 
void setViewLabel (const QString &newChartViewLabel)
 
QString viewLabel () const
 
 ~qMRMLChartWidget () 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 Slots

void onAppAboutToQuit ()
 

Protected Attributes

QScopedPointer< qMRMLChartWidgetPrivate > 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

qMRMLChartWidget is the toplevel charting widget that can be packed in a layout.

qMRMLChartWidget provides charting capabilities with a display canvas for the chart and a controller widget to control the content and properties of the chart.

Definition at line 42 of file qMRMLChartWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 47 of file qMRMLChartWidget.h.

Constructor & Destructor Documentation

◆ qMRMLChartWidget()

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

Constructors.

◆ ~qMRMLChartWidget()

qMRMLChartWidget::~qMRMLChartWidget ( )
override

Member Function Documentation

◆ chartView()

Q_INVOKABLE qMRMLChartView* qMRMLChartWidget::chartView ( ) const

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

◆ colorLogic()

vtkMRMLColorLogic* qMRMLChartWidget::colorLogic ( ) const

◆ mrmlChartViewNode()

vtkMRMLChartViewNode* qMRMLChartWidget::mrmlChartViewNode ( ) const

Get the chart node observed by view.

◆ onAppAboutToQuit

void qMRMLChartWidget::onAppAboutToQuit ( )
protectedslot

◆ setColorLogic()

void qMRMLChartWidget::setColorLogic ( vtkMRMLColorLogic colorLogic)

Set the color logic that is used by the view.

◆ setMRMLChartViewNode

void qMRMLChartWidget::setMRMLChartViewNode ( vtkMRMLChartViewNode newChartViewNode)
slot

Set the current viewNode to observe.

◆ setViewLabel()

void qMRMLChartWidget::setViewLabel ( const QString &  newChartViewLabel)

Set the view label for the chart.

See also
qMRMLChartControllerWidget::chartViewLabel()
chartViewLabel()

◆ viewLabel()

QString qMRMLChartWidget::viewLabel ( ) const

Get the view label for the chart.

See also
qMRMLChartControllerWidget::chartViewLabel()
setChartViewLabel()

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLChartWidgetPrivate> qMRMLChartWidget::d_ptr
protected

Definition at line 83 of file qMRMLChartWidget.h.


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