21 #ifndef __qSlicerCLIModule_h 22 #define __qSlicerCLIModule_h 31 #include <ModuleDescription.h> 33 #include "qSlicerBaseQTCLIExport.h" 39 class qSlicerCLIModulePrivate;
52 void setXmlModuleDescription(
const QString& xmlModuleDescription);
55 int index()
const override;
63 void setTempDirectory(
const QString& tempDirectory);
64 QString tempDirectory()
const;
68 void setEntryPoint(
const QString& entryPoint);
69 QString entryPoint()
const;
73 void setModuleType(
const QString& type);
74 QString moduleType()
const;
81 QString
title()
const override;
92 QImage
logo()
const override;
93 void setLogo(
const ModuleLogo& logo);
97 static QImage moduleLogoToImage(
const ModuleLogo& logo);
101 ModuleDescription& moduleDescription();
105 void setup()
override;
116 QScopedPointer<qSlicerCLIModulePrivate>
d_ptr;
virtual QStringList contributors() const
Return the contributors of the module.
Superclass for MRML logic classes.
virtual qSlicerAbstractModuleRepresentation * createWidgetRepresentation()=0
Create and return a widget representation for the module.
virtual int index() const
Return the category index of the module.
virtual QImage logo() const
The logo of the module, the credits given by the grants or instution.
virtual vtkMRMLAbstractLogic * createLogic()=0
virtual QString acknowledgementText() const
virtual QStringList associatedNodeTypes() const
Return node types associated with this module (e.g., node types this module can edit) ...
virtual QString helpText() const
virtual QStringList categories() const
virtual QString title() const =0
QScopedPointer< qSlicerCLIModulePrivate > d_ptr
virtual void setup()=0
All initialization code should be done in the setup.
MRML node for representing the parameters allowing to run a command line interface module (CLI)...
qSlicerAbstractModule Superclass