Slicer  4.10
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
qMRMLChartViewControllerWidget Class Reference

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

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

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 editTitle ()
 Show a popup to edit the title. More...
 
void editXAxisLabel ()
 Show a popup to edit the label along the X-Axis. More...
 
void editYAxisLabel ()
 Show a popup to edit the label along the Y-Axis. More...
 
void setChartView (qMRMLChartView *ChartView)
 Set the ChartView with which this controller interacts. More...
 
void setMRMLChartViewNode (vtkMRMLChartViewNode *chartViewNode)
 
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the scene. More...
 
void setTitle (const QString &)
 
void setXAxisLabel (const QString &)
 
void setYAxisLabel (const QString &)
 
void showGrid (bool show)
 Control the display of a grid in the chart. More...
 
void showLegend (bool show)
 Control the display of the legend in the chart. More...
 
void showLines (bool show)
 Control whether lines are displayed. More...
 
void showMarkers (bool show)
 Control whether point markers are displayed. More...
 
void showTitle (bool show)
 
void showXAxisLabel (bool show)
 
void showYAxisLabel (bool show)
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Public Member Functions

 qMRMLChartViewControllerWidget (QWidget *parent=0)
 Constructors. More...
 
void setViewLabel (const QString &newViewLabel)
 
QString viewLabel () const
 Get the label for the view (abbreviation for the view name) More...
 
virtual ~qMRMLChartViewControllerWidget ()
 
- 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=0)
 Constructors. More...
 
Q_INVOKABLE void setLayoutBehavior (LayoutBehavior behavior)
 
Q_INVOKABLE QLabel * viewLabel ()
 Label that displays the view's name. More...
 
virtual ~qMRMLViewControllerBar ()
 
- 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 Slots

void updateWidgetFromMRML ()
 

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 
- Protected Member Functions inherited from qMRMLViewControllerBar
 qMRMLViewControllerBar (qMRMLViewControllerBarPrivate *pimpl, QWidget *parent=0)
 
- Protected Attributes inherited from qMRMLViewControllerBar
QScopedPointer< qMRMLViewControllerBarPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Detailed Description

qMRMLChartViewControllerWidget offers controls to a chart view (vtkMRMLChartViewNode and vtkMRMLChartNode). This controller allows for the content (data) and style (properties) of a chart to be defined.

Definition at line 37 of file qMRMLChartViewControllerWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 45 of file qMRMLChartViewControllerWidget.h.

Constructor & Destructor Documentation

◆ qMRMLChartViewControllerWidget()

qMRMLChartViewControllerWidget::qMRMLChartViewControllerWidget ( QWidget *  parent = 0)
explicit

Constructors.

◆ ~qMRMLChartViewControllerWidget()

virtual qMRMLChartViewControllerWidget::~qMRMLChartViewControllerWidget ( )
virtual

Member Function Documentation

◆ editTitle

void qMRMLChartViewControllerWidget::editTitle ( )
slot

Show a popup to edit the title.

◆ editXAxisLabel

void qMRMLChartViewControllerWidget::editXAxisLabel ( )
slot

Show a popup to edit the label along the X-Axis.

◆ editYAxisLabel

void qMRMLChartViewControllerWidget::editYAxisLabel ( )
slot

Show a popup to edit the label along the Y-Axis.

◆ setChartView

void qMRMLChartViewControllerWidget::setChartView ( qMRMLChartView ChartView)
slot

Set the ChartView with which this controller interacts.

◆ setMRMLChartViewNode

void qMRMLChartViewControllerWidget::setMRMLChartViewNode ( vtkMRMLChartViewNode chartViewNode)
slot

Set the ChartViewNode associated with this ChartViewController. ChartViewNodes are 1-to-1 with ChartViews

◆ setMRMLScene

virtual void qMRMLChartViewControllerWidget::setMRMLScene ( vtkMRMLScene newScene)
virtualslot

Set the scene.

◆ setTitle

void qMRMLChartViewControllerWidget::setTitle ( const QString &  )
slot

Set the title.

See also
showTitle

◆ setViewLabel()

void qMRMLChartViewControllerWidget::setViewLabel ( const QString &  newViewLabel)

Set the label for the chart view (abbreviation for the view name)

◆ setXAxisLabel

void qMRMLChartViewControllerWidget::setXAxisLabel ( const QString &  )
slot

Set the label along the X-Axis.

See also
showXAxisLabel

◆ setYAxisLabel

void qMRMLChartViewControllerWidget::setYAxisLabel ( const QString &  )
slot

Set the label along the Y-Axis.

See also
showYAxisLabel

◆ showGrid

void qMRMLChartViewControllerWidget::showGrid ( bool  show)
slot

Control the display of a grid in the chart.

◆ showLegend

void qMRMLChartViewControllerWidget::showLegend ( bool  show)
slot

Control the display of the legend in the chart.

◆ showLines

void qMRMLChartViewControllerWidget::showLines ( bool  show)
slot

Control whether lines are displayed.

◆ showMarkers

void qMRMLChartViewControllerWidget::showMarkers ( bool  show)
slot

Control whether point markers are displayed.

◆ showTitle

void qMRMLChartViewControllerWidget::showTitle ( bool  show)
slot

Control the display of the title for the chart

See also
setTitle

◆ showXAxisLabel

void qMRMLChartViewControllerWidget::showXAxisLabel ( bool  show)
slot

Conrtol the display of a label along the X-Axis

See also
setXAxisLabel

◆ showYAxisLabel

void qMRMLChartViewControllerWidget::showYAxisLabel ( bool  show)
slot

Control the display of a label along the Y-AXis

See also
setYAxisLabel

◆ updateWidgetFromMRML

void qMRMLChartViewControllerWidget::updateWidgetFromMRML ( )
protectedslot

◆ viewLabel()

QString qMRMLChartViewControllerWidget::viewLabel ( ) const

Get the label for the view (abbreviation for the view name)


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