21 #ifndef __qSlicerSimpleMarkupsWidget_h 22 #define __qSlicerSimpleMarkupsWidget_h 30 #include "qSlicerMarkupsModuleWidgetsExport.h" 31 #include "ui_qSlicerSimpleMarkupsWidget.h" 34 class qSlicerSimpleMarkupsWidgetPrivate;
37 class Q_SLICER_MODULE_MARKUPS_WIDGETS_EXPORT
41 Q_PROPERTY(
bool enterPlaceModeOnNodeChange READ enterPlaceModeOnNodeChange WRITE setEnterPlaceModeOnNodeChange)
42 Q_PROPERTY(
bool jumpToSliceEnabled READ jumpToSliceEnabled WRITE setJumpToSliceEnabled)
43 Q_PROPERTY(
bool nodeSelectorVisible READ nodeSelectorVisible WRITE setNodeSelectorVisible)
44 Q_PROPERTY(
bool optionsVisible READ optionsVisible WRITE setOptionsVisible)
45 Q_PROPERTY(QColor nodeColor READ nodeColor WRITE setNodeColor)
46 Q_PROPERTY(QColor defaultNodeColor READ defaultNodeColor WRITE setDefaultNodeColor)
47 Q_PROPERTY(
int viewGroup READ viewGroup WRITE setViewGroup)
65 Q_INVOKABLE QTableWidget* tableWidget() const;
74 bool enterPlaceModeOnNodeChange() const;
78 bool jumpToSliceEnabled() const;
81 bool nodeSelectorVisible() const;
84 bool optionsVisible() const;
87 QColor nodeColor() const;
90 QColor defaultNodeColor() const;
94 void setViewGroup(
int newViewGroup);
107 void setNodeBaseName(QString newNodeBaseName);
114 void setEnterPlaceModeOnNodeChange(
bool);
117 void setJumpToSliceEnabled(
bool);
120 void setNodeSelectorVisible(
bool);
123 void setOptionsVisible(
bool);
126 void setNodeColor(QColor color);
129 void setDefaultNodeColor(QColor color);
132 void highlightNthFiducial(
int n);
138 void placeActive(
bool place);
143 void onMarkupsFiducialNodeChanged();
147 void onMarkupsFiducialTableContextMenu(const QPoint& position);
150 void onMarkupsFiducialEdited(
int row,
int column);
153 void onMarkupsFiducialSelected(
int row,
int column);
161 void markupsFiducialNodeChanged();
165 void currentMarkupsFiducialSelectionChanged(
int markupIndex);
170 void activeMarkupsFiducialPlaceModeChanged(
bool enabled);
174 void updateFinished();
177 QScopedPointer<qSlicerSimpleMarkupsWidgetPrivate> d_ptr;
179 virtual
void setup();
A set of MRML Nodes that supports serialization and undo/redo.
Combobox that automatically displays all the nodes of the scene that match filtering criteria...
Abstract Superclass for all specific types of MRML nodes.