Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerCropVolumeModule.h
Go to the documentation of this file.
1 #ifndef __qSlicerCropVolumeModule_h
2 #define __qSlicerCropVolumeModule_h
3 
4 // SlicerQt includes
6 
7 #include "qSlicerCropVolumeModuleExport.h"
8 
9 class qSlicerCropVolumeModulePrivate;
10 
12 class Q_SLICER_QTMODULES_CROPVOLUME_EXPORT qSlicerCropVolumeModule :
14 {
15  Q_OBJECT
16 #ifdef Slicer_HAVE_QT5
17  Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
18 #endif
19  Q_INTERFACES(qSlicerLoadableModule);
20 
21 public:
22 
24  explicit qSlicerCropVolumeModule(QObject *parent=0);
25  virtual ~qSlicerCropVolumeModule();
26 
27  qSlicerGetTitleMacro(QTMODULE_TITLE);
28 
30  virtual QIcon icon()const;
31  virtual QStringList categories() const;
32 
33  virtual QString helpText()const;
34  virtual QString acknowledgementText()const;
35  virtual QStringList contributors()const;
36 
37  virtual QStringList dependencies()const;
38 
40  virtual QStringList associatedNodeTypes()const;
41 
42 protected:
44  virtual void setup();
45 
48 
51 
52 protected:
53  QScopedPointer<qSlicerCropVolumeModulePrivate> d_ptr;
54 
55 private:
56  Q_DECLARE_PRIVATE(qSlicerCropVolumeModule);
57  Q_DISABLE_COPY(qSlicerCropVolumeModule);
58 
59 };
60 
61 #endif
virtual QStringList contributors() const
Return the contributors of the module.
Superclass for MRML logic classes.
virtual QIcon icon() const
virtual qSlicerAbstractModuleRepresentation * createWidgetRepresentation()=0
Create and return a widget representation for the module.
#define qSlicerGetTitleMacro(_TITLE)
virtual void setup()
All initialization code should be done in the setup.
virtual vtkMRMLAbstractLogic * createLogic()=0
virtual QString helpText() const
Return help/acknowledgement text.
QScopedPointer< qSlicerCropVolumeModulePrivate > d_ptr
virtual QStringList associatedNodeTypes() const
Return node types associated with this module (e.g., node types this module can edit) ...
virtual QString acknowledgementText() const
virtual QStringList dependencies() const
virtual QStringList categories() const
qSlicerLoadableModule Superclass