![]() |
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Colors/qSlicerColorsModule.h>
Public Types | |
typedef qSlicerLoadableModule | Superclass |
![]() | |
typedef qSlicerLoadableModule | Self |
typedef qSlicerAbstractModule | Superclass |
![]() | |
typedef qSlicerAbstractCoreModule | Superclass |
typedef QObject | Superclass |
Public Member Functions | |
QString | acknowledgementText () const override |
Return acknowledgments. | |
QStringList | associatedNodeTypes () const override |
Specify editable node types. | |
QStringList | categories () const override |
QStringList | contributors () const override |
Return the authors of the module. | |
QStringList | dependencies () const override |
List dependencies. | |
QString | helpText () const override |
Help to use the module. | |
QIcon | icon () const override |
qSlicerColorsModule (QObject *parent=nullptr) | |
qSlicerGetTitleMacro (tr("Colors")) | |
void | setMRMLScene (vtkMRMLScene *newMRMLScene) override |
~qSlicerColorsModule () override | |
![]() | |
QString | acknowledgementText () const override |
QString | helpText () const override |
Return help/acknowledgement text. | |
qSlicerLoadableModule (QObject *parent=nullptr) | |
~qSlicerLoadableModule () override | |
![]() | |
Q_INVOKABLE QAction * | action () |
virtual QImage | logo () const |
The logo of the module, the credits given by the grants or institution. | |
qSlicerAbstractModule (QObject *parent=nullptr) | |
~qSlicerAbstractModule () override | |
qSlicerAbstractCoreModule (QObject *parent=nullptr) | |
~qSlicerAbstractCoreModule () override | |
virtual void | printAdditionalInfo () |
QString | slicerWikiUrl () const |
Convenience method to return slicer wiki URL. | |
QString | defaultDocumentationLink () const |
void | initialize (vtkSlicerApplicationLogic *appLogic) |
virtual QString | name () const |
virtual void | setName (const QString &name) |
virtual QString | title () const =0 |
virtual int | index () const |
Return the category index of the module. | |
virtual bool | isHidden () const |
bool | isWidgetRepresentationCreationEnabled () const |
void | setWidgetRepresentationCreationEnabled (bool value) |
qSlicerAbstractModuleRepresentation * | widgetRepresentation () |
qSlicerAbstractModuleRepresentation * | createNewWidgetRepresentation () |
void | setAppLogic (vtkSlicerApplicationLogic *appLogic) |
vtkSlicerApplicationLogic * | appLogic () const |
vtkMRMLAbstractLogic * | moduleLogic (const QString &moduleName) const |
Convenience method for getting another module's logic from appLogic. | |
Q_INVOKABLE vtkMRMLAbstractLogic * | logic () |
Q_INVOKABLE vtkMRMLScene * | mrmlScene () const |
Return a pointer on the MRML scene. | |
QString | path () const |
void | setPath (const QString &newPath) |
bool | isInstalled () const |
void | setInstalled (bool value) |
bool | isBuiltIn () const |
void | setBuiltIn (bool value) |
Protected Member Functions | |
vtkMRMLAbstractLogic * | createLogic () override |
Create and return the logic associated to this module. | |
qSlicerAbstractModuleRepresentation * | createWidgetRepresentation () override |
Create and return the widget representation associated to this module. | |
void | setup () override |
Reimplemented to initialize the color logic. | |
![]() | |
void | setup () override |
All initialization code should be done in the setup. | |
Protected Attributes | |
QScopedPointer< qSlicerColorsModulePrivate > | d_ptr |
![]() | |
QScopedPointer< qSlicerLoadableModulePrivate > | d_ptr |
![]() | |
QScopedPointer< qSlicerAbstractModulePrivate > | d_ptr |
QScopedPointer< qSlicerAbstractCoreModulePrivate > | d_ptr |
Additional Inherited Members | |
![]() | |
QIcon | icon |
QImage | logo |
QString | name |
QString | title |
QStringList | categories |
int | index |
bool | hidden |
bool | widgetRepresentationCreationEnabled |
QString | helpText |
QString | acknowledgementText |
QStringList | contributors |
QString | slicerWikiUrl |
QString | defaultDocumentationLink |
QStringList | dependencies |
QString | path |
bool | isInstalled |
bool | isBuiltIn |
QStringList | associatedNodeTypes |
![]() | |
static bool | addModuleNameToSlicerModuleNames (qSlicerCorePythonManager *pythonManager, const QString &moduleName) |
static bool | addModuleToSlicerModules (qSlicerCorePythonManager *pythonManager, qSlicerAbstractModule *module, const QString &moduleName) |
static bool | importModulePythonExtensions (qSlicerCorePythonManager *pythonManager, const QString &intDir, const QString &modulePath, bool isEmbedded=false) |
Import python extensions associated with modulePath. | |
Definition at line 33 of file qSlicerColorsModule.h.
Definition at line 41 of file qSlicerColorsModule.h.
qSlicerColorsModule::qSlicerColorsModule | ( | QObject * | parent = nullptr | ) |
|
override |
|
overridevirtual |
Return acknowledgments.
Reimplemented from qSlicerAbstractCoreModule.
|
overridevirtual |
Specify editable node types.
Reimplemented from qSlicerAbstractCoreModule.
|
overridevirtual |
Categories the module belongs to. Categories support subcategories. Use the '.' separator to specify a subcategory (no depth limit), e.g.: "Filtering.Arithmetic". The function must be reimplemented in derived classes. Note: If a category doesn't exist, it will be created.
Reimplemented from qSlicerAbstractCoreModule.
|
overridevirtual |
Return the authors of the module.
Reimplemented from qSlicerAbstractCoreModule.
|
overrideprotectedvirtual |
Create and return the logic associated to this module.
Implements qSlicerAbstractCoreModule.
|
overrideprotectedvirtual |
Create and return the widget representation associated to this module.
Implements qSlicerAbstractCoreModule.
|
overridevirtual |
List dependencies.
Reimplemented from qSlicerAbstractCoreModule.
|
overridevirtual |
Help to use the module.
Reimplemented from qSlicerAbstractCoreModule.
|
overridevirtual |
Icon of the module. Anytime a graphical representation of the module is needed, the icon is used. It's the icon shown in the module selector as well as in the frequently used module toolbar (if any).
Reimplemented from qSlicerAbstractModule.
qSlicerColorsModule::qSlicerGetTitleMacro | ( | tr("Colors") | ) |
|
overridevirtual |
Set the current MRML scene to the module, it is propagated to the logic and representations if any
Reimplemented from qSlicerAbstractCoreModule.
|
overrideprotectedvirtual |
Reimplemented to initialize the color logic.
Implements qSlicerAbstractCoreModule.
|
protected |
Definition at line 78 of file qSlicerColorsModule.h.