#include <Base/QTCore/qSlicerAbstractModuleRepresentation.h>
|
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > | d_ptr |
|
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
|
◆ Superclass
◆ qSlicerAbstractModuleRepresentation()
qSlicerAbstractModuleRepresentation::qSlicerAbstractModuleRepresentation |
( |
| ) |
|
◆ ~qSlicerAbstractModuleRepresentation()
qSlicerAbstractModuleRepresentation::~qSlicerAbstractModuleRepresentation |
( |
| ) |
|
|
override |
◆ logic()
Return the logic of the module The logic is available (not null) when setup() is called. So you can't access it in the constructor of your module widget.
◆ module()
Returns the module the representation belongs to. The module is set right before setup() is called.
◆ moduleName()
QString qSlicerAbstractModuleRepresentation::moduleName |
( |
| ) |
const |
◆ nodeEditable()
virtual double qSlicerAbstractModuleRepresentation::nodeEditable |
( |
vtkMRMLNode * |
node | ) |
|
|
virtual |
◆ setEditedNode()
virtual bool qSlicerAbstractModuleRepresentation::setEditedNode |
( |
vtkMRMLNode * |
node, |
|
|
QString |
role = QString() , |
|
|
QString |
context = QString() |
|
) |
| |
|
virtual |
Allows other modules to select input and output nodes in the module's GUI. There may be multiple node selectors in a module widget, you can select between them using the role argument. Context can be specified to make a selection within that node (for example, a markup list node may contain multiple markups; context can be used to select a specific item). Returns true if the selection was successful. This node has to be overridden in child classes that support editing certain node types. Preferably each module that defines a new MRML node class should also make sure there is a module widget that can edit that node. If setEditedNode method is overridden then nodeEditable method can be overridden to specify a non-default confidence value that the module can handle a specific node instance.
Reimplemented in qSlicerMarkupsModuleWidget, qSlicerAbstractModuleWidget, qSlicerVolumeRenderingModuleWidget, qSlicerSegmentationsModuleWidget, qSlicerScriptedLoadableModuleWidget, qSlicerSequencesModuleWidget, qSlicerCLIModuleWidget, qSlicerModelsModuleWidget, qSlicerReformatModuleWidget, qSlicerTransformsModuleWidget, qSlicerAnnotationModuleWidget, qSlicerPlotsModuleWidget, qSlicerTablesModuleWidget, qSlicerColorsModuleWidget, qSlicerVolumesModuleWidget, qSlicerTextsModuleWidget, qSlicerCamerasModuleWidget, qSlicerSceneViewsModuleWidget, and qSlicerCropVolumeModuleWidget.
◆ setup()
virtual void qSlicerAbstractModuleRepresentation::setup |
( |
| ) |
|
|
protectedpure virtual |
All initialization code (typically setupUi()) must be done in setup() The module and the logic are accessible.
Implemented in qSlicerMarkupsModuleWidget, qSlicerVolumeRenderingModuleWidget, qSlicerSequencesModuleWidget, qSlicerDataModuleWidget, qSlicerModelsModuleWidget, qSlicerSceneViewsModuleWidget, qSlicerCLIModuleWidget, qSlicerSegmentationsModuleWidget, qSlicerAbstractModuleWidget, qSlicerTransformsModuleWidget, qSlicerColorsModuleWidget, qSlicerScriptedLoadableModuleWidget, qSlicerViewControllersModuleWidget, qSlicerWelcomeModuleWidget, qSlicerPlotsModuleWidget, qSlicerTablesModuleWidget, qSlicerSubjectHierarchyModuleWidget, qSlicerReformatModuleWidget, qSlicerEventBrokerModuleWidget, qSlicerCamerasModuleWidget, qSlicerTerminologiesModuleWidget, qSlicerTextsModuleWidget, qSlicerVolumesModuleWidget, and qSlicerCropVolumeModuleWidget.
◆ qSlicerAbstractCoreModule
◆ d_ptr
QScopedPointer<qSlicerAbstractModuleRepresentationPrivate> qSlicerAbstractModuleRepresentation::d_ptr |
|
protected |
The documentation for this class was generated from the following file: