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 Slots
qMRMLPlotViewControllerWidget Class Reference

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

Inheritance diagram for qMRMLPlotViewControllerWidget:
Inheritance graph
[legend]
Collaboration diagram for qMRMLPlotViewControllerWidget:
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 fitPlotToAxes ()
 
void setMRMLPlotViewNode (vtkMRMLPlotViewNode *PlotViewNode)
 
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the scene. More...
 
void setPlotView (qMRMLPlotView *PlotView)
 Set the PlotView with which this controller interacts. More...
 
void setTitle (const QString &str)
 
void setXAxisLabel (const QString &str)
 
void setYAxisLabel (const QString &str)
 
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 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

 qMRMLPlotViewControllerWidget (QWidget *parent=0)
 Constructors. More...
 
void setViewLabel (const QString &newViewLabel)
 Set the label for the Plot view (abbreviation for the view name). More...
 
QString viewLabel () const
 Get the label for the view (abbreviation for the view name). More...
 
virtual ~qMRMLPlotViewControllerWidget ()
 
- Public Member Functions inherited from qMRMLViewControllerBar
QLayout * barLayout ()
 
QWidget * barWidget ()
 
 qMRMLViewControllerBar (QWidget *parent=0)
 Constructors. More...
 
void setLayoutBehavior (LayoutBehavior behavior)
 
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

qMRMLPlotViewControllerWidget offers controls to a Plot view (vtkMRMLPlotChartNode and vtkMRMLPlotDataNode). This controller allows for the content (data) and style (properties) of a plot to be defined.

Definition at line 39 of file qMRMLPlotViewControllerWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 47 of file qMRMLPlotViewControllerWidget.h.

Constructor & Destructor Documentation

◆ qMRMLPlotViewControllerWidget()

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

Constructors.

◆ ~qMRMLPlotViewControllerWidget()

virtual qMRMLPlotViewControllerWidget::~qMRMLPlotViewControllerWidget ( )
virtual

Member Function Documentation

◆ editTitle

void qMRMLPlotViewControllerWidget::editTitle ( )
slot

Show a popup to edit the title.

◆ editXAxisLabel

void qMRMLPlotViewControllerWidget::editXAxisLabel ( )
slot

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

◆ editYAxisLabel

void qMRMLPlotViewControllerWidget::editYAxisLabel ( )
slot

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

◆ fitPlotToAxes

void qMRMLPlotViewControllerWidget::fitPlotToAxes ( )
slot

Adjust the chart viewer's field of view to match the extent of the chart axes.

◆ setMRMLPlotViewNode

void qMRMLPlotViewControllerWidget::setMRMLPlotViewNode ( vtkMRMLPlotViewNode PlotViewNode)
slot

Set the PlotViewNode associated with this PlotViewController. PlotViewNodes are 1-to-1 with PlotViews

◆ setMRMLScene

virtual void qMRMLPlotViewControllerWidget::setMRMLScene ( vtkMRMLScene newScene)
virtualslot

Set the scene.

◆ setPlotView

void qMRMLPlotViewControllerWidget::setPlotView ( qMRMLPlotView PlotView)
slot

Set the PlotView with which this controller interacts.

◆ setTitle

void qMRMLPlotViewControllerWidget::setTitle ( const QString &  str)
slot

Set the title.

See also
showTitle

◆ setViewLabel()

void qMRMLPlotViewControllerWidget::setViewLabel ( const QString &  newViewLabel)

Set the label for the Plot view (abbreviation for the view name).

◆ setXAxisLabel

void qMRMLPlotViewControllerWidget::setXAxisLabel ( const QString &  str)
slot

Set the label along the X-Axis.

See also
showXAxisLabel

◆ setYAxisLabel

void qMRMLPlotViewControllerWidget::setYAxisLabel ( const QString &  str)
slot

Set the label along the Y-Axis.

See also
showYAxisLabel

◆ showGrid

void qMRMLPlotViewControllerWidget::showGrid ( bool  show)
slot

Control the display of a grid in the chart.

◆ showLegend

void qMRMLPlotViewControllerWidget::showLegend ( bool  show)
slot

Control the display of the legend in the chart.

◆ showTitle

void qMRMLPlotViewControllerWidget::showTitle ( bool  show)
slot

Control the display of the title for the chart.

See also
setTitle

◆ showXAxisLabel

void qMRMLPlotViewControllerWidget::showXAxisLabel ( bool  show)
slot

Conrtol the diplay of a label along the X-Axis.

See also
setXAxisLabel

◆ showYAxisLabel

void qMRMLPlotViewControllerWidget::showYAxisLabel ( bool  show)
slot

Control the display of a label along the Y-AXis.

See also
setYAxisLabel

◆ updateWidgetFromMRML

void qMRMLPlotViewControllerWidget::updateWidgetFromMRML ( )
protectedslot

◆ viewLabel()

QString qMRMLPlotViewControllerWidget::viewLabel ( ) const

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


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