Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Markups/Widgets/qMRMLMarkupsAbstractOptionsWidget.h>
Public Types | |
typedef QWidget | Superclass |
Properties | |
QString | className |
Public Slots | |
void | setMRMLMarkupsNode (vtkMRMLNode *markupsNode) |
Sets the vtkMRMLNode to operate on. More... | |
virtual void | setMRMLMarkupsNode (vtkMRMLMarkupsNode *markupsNode)=0 |
Sets the vtkMRMLMarkupsNode to operate on. More... | |
virtual void | setMRMLScene (vtkMRMLScene *mrmlScene) |
Sets the vtkMRMLNode to operate on. More... | |
Public Member Functions | |
virtual bool | canManageMRMLMarkupsNode (vtkMRMLMarkupsNode *markupsNode) const =0 |
virtual const QString | className () const =0 |
Gets the name of the additional options widget type. More... | |
virtual qMRMLMarkupsAbstractOptionsWidget * | createInstance () const =0 |
Clone options widget . Override to return a new instance of the options widget. More... | |
vtkMRMLMarkupsNode * | mrmlMarkupsNode () const |
vtkMRMLScene * | mrmlScene () const |
qMRMLMarkupsAbstractOptionsWidget (QWidget *parent=nullptr) | |
virtual void | updateWidgetFromMRML ()=0 |
Updates the widget based on information from MRML. More... | |
~qMRMLMarkupsAbstractOptionsWidget ()=default | |
Protected Attributes | |
vtkWeakPointer< vtkMRMLMarkupsNode > | MarkupsNode |
vtkWeakPointer< vtkMRMLScene > | MRMLScene |
Definition at line 43 of file qMRMLMarkupsAbstractOptionsWidget.h.
typedef QWidget qMRMLMarkupsAbstractOptionsWidget::Superclass |
Definition at line 48 of file qMRMLMarkupsAbstractOptionsWidget.h.
|
read |
Definition at line 48 of file qMRMLMarkupsAbstractOptionsWidget.h.
qMRMLMarkupsAbstractOptionsWidget::qMRMLMarkupsAbstractOptionsWidget | ( | QWidget * | parent = nullptr | ) |
|
default |
|
pure virtual |
Checks whether a given node can be handled by the widget. This allows using complex logics to determine whether the widget can manage a given markups node or not.
Implemented in qMRMLMarkupsROIWidget, qMRMLMarkupsPlaneWidget, qMRMLMarkupsAngleMeasurementsWidget, and qMRMLMarkupsCurveSettingsWidget.
|
pure virtual |
Gets the name of the additional options widget type.
Implemented in qMRMLMarkupsROIWidget, qMRMLMarkupsPlaneWidget, qMRMLMarkupsAngleMeasurementsWidget, and qMRMLMarkupsCurveSettingsWidget.
|
pure virtual |
Clone options widget . Override to return a new instance of the options widget.
Implemented in qMRMLMarkupsAngleMeasurementsWidget, and qMRMLMarkupsCurveSettingsWidget.
|
inline |
Definition at line 62 of file qMRMLMarkupsAbstractOptionsWidget.h.
|
inline |
Definition at line 66 of file qMRMLMarkupsAbstractOptionsWidget.h.
|
slot |
Sets the vtkMRMLNode to operate on.
|
pure virtualslot |
Sets the vtkMRMLMarkupsNode to operate on.
Implemented in qMRMLMarkupsAngleMeasurementsWidget, and qMRMLMarkupsCurveSettingsWidget.
|
inlinevirtualslot |
Sets the vtkMRMLNode to operate on.
Definition at line 83 of file qMRMLMarkupsAbstractOptionsWidget.h.
|
pure virtual |
Updates the widget based on information from MRML.
Implemented in qMRMLMarkupsCurveSettingsWidget.
|
protected |
Definition at line 87 of file qMRMLMarkupsAbstractOptionsWidget.h.
|
protected |
Definition at line 88 of file qMRMLMarkupsAbstractOptionsWidget.h.