Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Public Types | Public Slots | Signals | Public Member Functions | Protected Attributes
qMRMLWidget Class Reference

Base class for any widget that requires a MRML Scene. More...

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

Inheritance diagram for qMRMLWidget:
Inheritance graph
[legend]

List of all members.

Public Types

typedef QWidget Superclass

Public Slots

virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget.

Signals

void mrmlSceneChanged (vtkMRMLScene *)

Public Member Functions

vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene.
 qMRMLWidget (QWidget *parent=0, Qt::WindowFlags f=0)
virtual ~qMRMLWidget ()

Protected Attributes

QScopedPointer
< qMRMLWidgetPrivate > 
d_ptr

Detailed Description

Base class for any widget that requires a MRML Scene.

Definition at line 35 of file qMRMLWidget.h.


Member Typedef Documentation

typedef QWidget qMRMLWidget::Superclass

Constructor & Destructor Documentation

qMRMLWidget::qMRMLWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
) [explicit]
virtual qMRMLWidget::~qMRMLWidget ( ) [virtual]

Member Function Documentation

vtkMRMLScene* qMRMLWidget::mrmlScene ( ) const

Return a pointer on the current MRML scene.

void qMRMLWidget::mrmlSceneChanged ( vtkMRMLScene ) [signal]

When designing custom qMRMLWidget in the designer, you can connect the mrmlSceneChanged signal directly to the aggregated MRML widgets that have a setMRMLScene slot.

virtual void qMRMLWidget::setMRMLScene ( vtkMRMLScene newScene) [virtual, slot]

Set the MRML scene associated with the widget.

Reimplemented in qMRMLChartViewControllerWidget, qMRMLColorPickerWidget, qMRMLSliceControllerWidget, qMRMLSliceWidget, and qMRMLUnitWidget.


Member Data Documentation

QScopedPointer<qMRMLWidgetPrivate> qMRMLWidget::d_ptr [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines