Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerSceneViewsModule.h
Go to the documentation of this file.
1 #ifndef __qSlicerSceneViewsModule_h
2 #define __qSlicerSceneViewsModule_h
3 
4 // SlicerQT includes
6 
7 // CTK includes
8 #include <ctkPimpl.h>
9 
10 #include "qSlicerSceneViewsModuleExport.h"
11 
13 class qSlicerSceneViewsModulePrivate;
14 
16 class Q_SLICER_QTMODULES_SCENEVIEWS_EXPORT qSlicerSceneViewsModule :
18 {
19  Q_OBJECT
20 #ifdef Slicer_HAVE_QT5
21  Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
22 #endif
23  Q_INTERFACES(qSlicerLoadableModule);
24 public:
25 
27  qSlicerSceneViewsModule(QObject *parent=0);
28  virtual ~qSlicerSceneViewsModule();
29 
31  virtual QString helpText()const ;
32  virtual QString acknowledgementText()const;
33  virtual QStringList contributors()const;
34 
36  virtual QIcon icon()const;
37  virtual QStringList categories()const;
38 
40  virtual QStringList associatedNodeTypes()const;
41 
42  qSlicerGetTitleMacro(QTMODULE_TITLE);
43 
44 public slots:
49  void showSceneViewDialog();
50 
51 protected:
52 
54  virtual void setup();
55 
56  // Description:
57  // Create and return the widget representation associated to this module
59 
60  // Description:
61  // Create and return the logic associated to this module
63 
64 protected:
65  QScopedPointer<qSlicerSceneViewsModulePrivate> d_ptr;
66 
67 private:
68  Q_DECLARE_PRIVATE(qSlicerSceneViewsModule);
69  Q_DISABLE_COPY(qSlicerSceneViewsModule);
70 };
71 
72 #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.
qSlicerLoadableModule Superclass
#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.
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 categories() const
QScopedPointer< qSlicerSceneViewsModulePrivate > d_ptr