Slicer  4.8
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 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=0)
 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
 
virtual ~qMRMLChartWidget ()
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qMRMLWidget ()
 

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 *)
 

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 = 0)
explicit

Constructors.

◆ ~qMRMLChartWidget()

virtual qMRMLChartWidget::~qMRMLChartWidget ( )
virtual

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.

◆ 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 81 of file qMRMLChartWidget.h.


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