18#ifndef __qSlicerMarkupsModule_h
19#define __qSlicerMarkupsModule_h
22#include <ctkVTKObject.h>
27#include "qSlicerMarkupsModuleExport.h"
29#include "vtkSlicerConfigure.h"
34class qSlicerMarkupsModulePrivate;
43 Q_PLUGIN_METADATA(IID
"org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
67 QIcon
icon()const override;
109 QScopedPointer<qSlicerMarkupsModulePrivate>
d_ptr;
friend class qSlicerAbstractModuleRepresentation
qSlicerLoadableModule(QObject *parent=nullptr)
bool toolBarVisible
Visibility of the markups toolbar.
QStringList associatedNodeTypes() const override
Specify editable node types.
void setToolBarVisible(bool visible)
Q_INVOKABLE bool isToolBarVisible()
QString acknowledgementText() const override
Return acknowledgements.
static void readDefaultMarkupsDisplaySettings(vtkMRMLMarkupsDisplayNode *markupsDisplayNode)
vtkMRMLAbstractLogic * createLogic() override
Create and return the logic associated to this module.
QStringList categories() const override
Return the categories for the module.
Q_INVOKABLE qMRMLMarkupsToolBar * toolBar()
void setup() override
Initialize the module. Register the volumes reader/writer.
static Q_INVOKABLE bool showMarkups(vtkMRMLMarkupsNode *markupsNode)
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override
Create and return the widget representation associated to this module.
QScopedPointer< qSlicerMarkupsModulePrivate > d_ptr
void setMRMLScene(vtkMRMLScene *scene) override
QStringList contributors() const override
Return the authors of the module.
static void writeDefaultMarkupsDisplaySettings(vtkMRMLMarkupsDisplayNode *markupsDisplayNode)
QString helpText() const override
Help to use the module.
void setAutoShowToolBar(bool autoShow)
Enables automatic showing markups toolbar when a new markups node is loaded.
qSlicerMarkupsModule(QObject *parent=nullptr)
qSlicerLoadableModule Superclass
qSlicerGetTitleMacro(tr("Markups"))
QIcon icon() const override
Return a custom icon for the module.
Superclass for MRML logic classes.
A set of MRML Nodes that supports serialization and undo/redo.