|
Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Base class for any widget that requires a MRML Scene. More...
#include <Libs/MRML/Widgets/qMRMLWidget.h>

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 | |
| vtkMRMLScene * | mrmlScene () 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 |
Base class for any widget that requires a MRML Scene.
Definition at line 35 of file qMRMLWidget.h.
| typedef QWidget qMRMLWidget::Superclass |
Reimplemented in qMRMLChartViewControllerWidget, qMRMLChartWidget, qMRMLLabelComboBox, qMRMLSliceControllerWidget, qMRMLSliceInformationWidget, qMRMLSliceWidget, qMRMLThreeDViewControllerWidget, qMRMLThreeDWidget, qMRMLViewControllerBar, qMRMLVolumeInfoWidget, qMRMLAnnotationDisplayNodePointPropertyWidget, qMRMLAnnotationDisplayNodePropertyWidget, qMRMLAnnotationFiducialProjectionPropertyWidget, qMRMLAnnotationRulerProjectionPropertyWidget, and qMRMLUnitWidget.
Definition at line 41 of file qMRMLWidget.h.
| qMRMLWidget::qMRMLWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) | [explicit] |
| virtual qMRMLWidget::~qMRMLWidget | ( | ) | [virtual] |
| 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.
QScopedPointer<qMRMLWidgetPrivate> qMRMLWidget::d_ptr [protected] |
Reimplemented in qMRMLChartWidget, qMRMLColorPickerWidget, qMRMLLabelComboBox, qMRMLSliceInformationWidget, qMRMLSliceWidget, qMRMLThreeDWidget, qMRMLViewControllerBar, qMRMLVolumeInfoWidget, qMRMLAnnotationDisplayNodePointPropertyWidget, qMRMLAnnotationDisplayNodePropertyWidget, qMRMLAnnotationFiducialProjectionPropertyWidget, qMRMLAnnotationRulerProjectionPropertyWidget, and qMRMLUnitWidget.
Definition at line 60 of file qMRMLWidget.h.
1.7.4