Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
qSlicerCoreModule Class Reference

#include <Modules/Core/qSlicerCoreModule.h>

Inheritance diagram for qSlicerCoreModule:
Inheritance graph
[legend]
Collaboration diagram for qSlicerCoreModule:
Collaboration graph
[legend]

Public Types

typedef qSlicerAbstractModule Superclass
 
- Public Types inherited from qSlicerAbstractModule
typedef qSlicerAbstractCoreModule Superclass
 
- Public Types inherited from qSlicerAbstractCoreModule
typedef QObject Superclass
 

Public Member Functions

 qSlicerCoreModule (QObject *parent=nullptr)
 
 ~qSlicerCoreModule () override
 
- Public Member Functions inherited from qSlicerAbstractModule
Q_INVOKABLE QAction * action ()
 
virtual QIcon icon () const
 
virtual QImage logo () const
 The logo of the module, the credits given by the grants or instution. More...
 
 qSlicerAbstractModule (QObject *parent=nullptr)
 
 ~qSlicerAbstractModule () override
 
- Public Member Functions inherited from qSlicerAbstractCoreModule
 qSlicerAbstractCoreModule (QObject *parent=nullptr)
 
 ~qSlicerAbstractCoreModule () override
 
virtual void printAdditionalInfo ()
 
QString slicerWikiUrl () const
 Convenience method to return slicer wiki URL. More...
 
QString defaultDocumentationLink () const
 
void initialize (vtkSlicerApplicationLogic *appLogic)
 
virtual QString name () const
 
virtual void setName (const QString &name)
 
virtual QString title () const =0
 
virtual QStringList categories () const
 
virtual int index () const
 Return the category index of the module. More...
 
virtual bool isHidden () const
 
virtual QStringList contributors () const
 Return the contributors of the module. More...
 
virtual QString helpText () const
 
virtual QString acknowledgementText () const
 
bool isWidgetRepresentationCreationEnabled () const
 
void setWidgetRepresentationCreationEnabled (bool value)
 
qSlicerAbstractModuleRepresentationwidgetRepresentation ()
 
qSlicerAbstractModuleRepresentationcreateNewWidgetRepresentation ()
 
void setAppLogic (vtkSlicerApplicationLogic *appLogic)
 
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 Convenience method for getting another module's logic from appLogic. More...
 
Q_INVOKABLE vtkMRMLAbstractLogiclogic ()
 
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
virtual QStringList dependencies () const
 
QString path () const
 
void setPath (const QString &newPath)
 
bool isInstalled () const
 
void setInstalled (bool value)
 
bool isBuiltIn () const
 
void setBuiltIn (bool value)
 
virtual QStringList associatedNodeTypes () const
 Return node types associated with this module (e.g., node types this module can edit) More...
 

Protected Member Functions

void setup () override
 All initialization code should be done in the setup. More...
 
- Protected Member Functions inherited from qSlicerAbstractCoreModule
virtual qSlicerAbstractModuleRepresentationcreateWidgetRepresentation ()=0
 Create and return a widget representation for the module. More...
 
virtual vtkMRMLAbstractLogiccreateLogic ()=0
 

Protected Attributes

QScopedPointer< qSlicerCoreModulePrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModule
QScopedPointer< qSlicerAbstractModulePrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractCoreModule
QScopedPointer< qSlicerAbstractCoreModulePrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerAbstractModule
QIcon icon
 
QImage logo
 
- Properties inherited from qSlicerAbstractCoreModule
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
 
- Public Slots inherited from qSlicerAbstractCoreModule
virtual void setMRMLScene (vtkMRMLScene *)
 

Detailed Description

Definition at line 34 of file qSlicerCoreModule.h.

Member Typedef Documentation

◆ Superclass

Definition at line 40 of file qSlicerCoreModule.h.

Constructor & Destructor Documentation

◆ qSlicerCoreModule()

qSlicerCoreModule::qSlicerCoreModule ( QObject *  parent = nullptr)

◆ ~qSlicerCoreModule()

qSlicerCoreModule::~qSlicerCoreModule ( )
override

Member Function Documentation

◆ setup()

void qSlicerCoreModule::setup ( )
overrideprotectedvirtual

All initialization code should be done in the setup.

Implements qSlicerAbstractCoreModule.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerCoreModulePrivate> qSlicerCoreModule::d_ptr
protected

Definition at line 48 of file qSlicerCoreModule.h.


The documentation for this class was generated from the following file: