18 #ifndef __qSlicerSequencesModule_h 19 #define __qSlicerSequencesModule_h 22 #include <ctkVTKObject.h> 27 #include "vtkSlicerConfigure.h" 29 #include "qSlicerSequencesModuleExport.h" 37 class qSlicerSequencesModulePrivate;
40 class Q_SLICER_QTMODULES_SEQUENCES_EXPORT
46 #ifdef Slicer_HAVE_QT5 47 Q_PLUGIN_METADATA(IID
"org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
52 Q_PROPERTY(
bool toolBarVisible READ isToolBarVisible WRITE setToolBarVisible)
53 Q_PROPERTY(
bool autoShowToolBar READ autoShowToolBar WRITE setAutoShowToolBar)
63 QString helpText()const override;
64 QString acknowledgementText()const override;
65 QStringList contributors()const override;
67 QIcon icon()const override;
69 QStringList categories()const override;
70 QStringList dependencies() const override;
73 QStringList associatedNodeTypes()const override;
78 Q_INVOKABLE
bool autoShowToolBar();
79 Q_INVOKABLE
bool isToolBarVisible();
89 void setup() override;
99 void setToolBarVisible(
bool visible);
101 void setAutoShowToolBar(
bool autoShow);
102 void onNodeAddedEvent(vtkObject*, vtkObject*);
103 void onNodeRemovedEvent(vtkObject*, vtkObject*);
104 void updateAllVirtualOutputNodes();
109 QScopedPointer<qSlicerSequencesModulePrivate> d_ptr;
Superclass for MRML logic classes.
#define qSlicerGetTitleMacro(_TITLE)
A set of MRML Nodes that supports serialization and undo/redo.