21#ifndef __qSlicerCLIModule_h
22#define __qSlicerCLIModule_h
31#include <ModuleDescription.h>
33#include "qSlicerBaseQTCLIExport.h"
39class qSlicerCLIModulePrivate;
92 QImage
logo()
const override;
119 QScopedPointer<qSlicerCLIModulePrivate>
d_ptr;
friend class qSlicerAbstractModuleRepresentation
qSlicerAbstractModule(QObject *parent=nullptr)
QStringList categories() const override
Extracted from the "category" field.
QString title() const override
int index() const override
Optionally set in the module XML description.
QString moduleType() const
qSlicerAbstractModule Superclass
vtkMRMLAbstractLogic * createLogic() override
Create and return the logic associated to this module.
QString entryPoint() const
QString helpText() const override
Return help/acknowledgement text.
ModuleDescription & moduleDescription()
QString translate(const std::string &sourceText) const
Translate string from source language to current application language.
static QImage moduleLogoToImage(const ModuleLogo &logo)
void setLogo(const ModuleLogo &logo)
void setXmlModuleDescription(const QString &xmlModuleDescription)
QScopedPointer< qSlicerCLIModulePrivate > d_ptr
~qSlicerCLIModule() override
QString acknowledgementText() const override
Q_INVOKABLE vtkSlicerCLIModuleLogic * cliModuleLogic()
void setModuleType(const QString &type)
qSlicerCLIModule(QWidget *parent=nullptr)
void setTempDirectory(const QString &tempDirectory)
Set temporary directory associated with the module.
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override
Create and return the widget representation associated to this module.
QString tempDirectory() const
QStringList associatedNodeTypes() const override
Specify editable node types.
QStringList contributors() const override
Extracted from the "contributor" field.
QImage logo() const override
The logo of the module, the credits given by the grants or institution.
void setEntryPoint(const QString &entryPoint)
void setup() override
All initialization code should be done in the setup.
Superclass for MRML logic classes.
MRML node for representing the parameters allowing to run a command line interface module (CLI)....