#include <Base/QTGUI/qSlicerLoadableModule.h>
|
QScopedPointer< qSlicerLoadableModulePrivate > | d_ptr |
|
QScopedPointer< qSlicerAbstractModulePrivate > | d_ptr |
|
QScopedPointer< qSlicerAbstractCoreModulePrivate > | d_ptr |
|
Definition at line 35 of file qSlicerLoadableModule.h.
◆ Self
◆ Superclass
◆ qSlicerLoadableModule()
qSlicerLoadableModule::qSlicerLoadableModule |
( |
QObject * |
parent = 0 | ) |
|
◆ ~qSlicerLoadableModule()
virtual qSlicerLoadableModule::~qSlicerLoadableModule |
( |
| ) |
|
|
virtual |
◆ acknowledgementText()
virtual QString qSlicerLoadableModule::acknowledgementText |
( |
| ) |
const |
|
virtual |
Return acknowledgement text for the module Must be reimplemented in the derived classes
Reimplemented from qSlicerAbstractCoreModule.
Reimplemented in qSlicerScriptedLoadableModule, qSlicerTransformsModule, qSlicerSubjectHierarchyModule, qSlicerWelcomeModule, qSlicerViewControllersModule, qSlicerDataModule, qSlicerSegmentationsModule, qSlicerTerminologiesModule, qSlicerVolumeRenderingModule, qSlicerCamerasModule, qSlicerColorsModule, qSlicerModelsModule, qSlicerReformatModule, qSlicerTablesModule, qSlicerUnitsModule, qSlicerMarkupsModule, qSlicerMultiVolumeRenderingModule, qSlicerVolumesModule, qSlicerDoubleArraysModule, qSlicerCropVolumeModule, qSlicerAnnotationsModule, and qSlicerSceneViewsModule.
◆ addModuleNameToSlicerModuleNames()
static bool qSlicerLoadableModule::addModuleNameToSlicerModuleNames |
( |
qSlicerCorePythonManager * |
pythonManager, |
|
|
const QString & |
moduleName |
|
) |
| |
|
static |
Set moduleName has an attribute of "slicer.moduleNames" module dictionary. qSlicerCoreApplication::corePythonManager()
◆ addModuleToSlicerModules()
Set module identified by moduleName has an attribute of "slicer.modules" module dictionary. qSlicerCoreApplication::corePythonManager()
◆ helpText()
virtual QString qSlicerLoadableModule::helpText |
( |
| ) |
const |
|
virtual |
Return help/acknowledgement text.
Reimplemented from qSlicerAbstractCoreModule.
Reimplemented in qSlicerScriptedLoadableModule, qSlicerTransformsModule, qSlicerWelcomeModule, qSlicerSubjectHierarchyModule, qSlicerDataModule, qSlicerCamerasModule, qSlicerColorsModule, qSlicerSegmentationsModule, qSlicerVolumeRenderingModule, qSlicerModelsModule, qSlicerTablesModule, qSlicerTerminologiesModule, qSlicerUnitsModule, qSlicerReformatModule, qSlicerVolumesModule, qSlicerMarkupsModule, qSlicerMultiVolumeRenderingModule, qSlicerDoubleArraysModule, qSlicerCropVolumeModule, qSlicerAnnotationsModule, and qSlicerSceneViewsModule.
◆ importModulePythonExtensions()
static bool qSlicerLoadableModule::importModulePythonExtensions |
( |
qSlicerCorePythonManager * |
pythonManager, |
|
|
const QString & |
intDir, |
|
|
const QString & |
modulePath, |
|
|
bool |
isEmbedded = false |
|
) |
| |
|
static |
Import python extensions associated with modulePath.
modulePath can either be the path to the module library or the directory containing the module library.
Python extensions corresponds to files matching the following wildcard expression:
-
vtkSlicer*ModuleLogic.py
-
vtkSlicer*ModuleMRML.py
-
vtkSlicer*ModuleMRMLDisplayableManager.py
-
qSlicer*PythonQt.* python
These files are searched within the modulePath directory minus the IntDir if it applies.
- See also
- qSlicerCoreApplication::intDir(), qSlicerCoreApplication::corePythonManager()
◆ setup()
virtual void qSlicerLoadableModule::setup |
( |
| ) |
|
|
protectedvirtual |
All initialization code should be done in the setup.
Implements qSlicerAbstractCoreModule.
Reimplemented in qSlicerScriptedLoadableModule, qSlicerViewControllersModule, qSlicerSegmentationsModule, qSlicerSubjectHierarchyModule, qSlicerTransformsModule, qSlicerReformatModule, qSlicerTerminologiesModule, qSlicerVolumeRenderingModule, qSlicerMarkupsModule, qSlicerModelsModule, qSlicerMultiVolumeRenderingModule, qSlicerColorsModule, qSlicerUnitsModule, qSlicerTablesModule, qSlicerVolumesModule, qSlicerDoubleArraysModule, qSlicerSceneViewsModule, qSlicerAnnotationsModule, qSlicerDataModule, and qSlicerCropVolumeModule.
◆ d_ptr
QScopedPointer<qSlicerLoadableModulePrivate> qSlicerLoadableModule::d_ptr |
|
protected |
The documentation for this class was generated from the following file: