21 #ifndef __qSlicerMouseModeToolBar_h 22 #define __qSlicerMouseModeToolBar_h 29 #include "qSlicerBaseQTGUIExport.h" 31 class qSlicerMouseModeToolBarPrivate;
46 Q_PROPERTY(QString defaultPlaceClassName READ defaultPlaceClassName WRITE setDefaultPlaceClassName)
57 QString activeActionText();
59 QString defaultPlaceClassName()
const;
60 void setDefaultPlaceClassName(
const QString& className);
75 void switchToViewTransformMode();
77 void changeCursorTo(QCursor cursor);
80 void switchPlaceMode();
83 void setPersistence(
bool persistent);
90 QScopedPointer<qSlicerMouseModeToolBarPrivate>
d_ptr;
92 QAction* actionFromPlaceNodeClassName(QString placeNodeClassName, QMenu *menu);
A set of MRML Nodes that supports serialization and undo/redo.