21 #ifndef __qSlicerMouseModeToolBar_h 22 #define __qSlicerMouseModeToolBar_h 29 #include "qSlicerBaseQTGUIExport.h" 31 class qSlicerMouseModeToolBarPrivate;
45 Q_PROPERTY(QString defaultPlaceClassName READ defaultPlaceClassName WRITE setDefaultPlaceClassName)
56 QString activeActionText();
58 QString defaultPlaceClassName()
const;
59 void setDefaultPlaceClassName(
const QString& className);
70 void switchToViewTransformMode();
72 void changeCursorTo(QCursor cursor);
75 void switchPlaceMode();
78 void setPersistence(
bool persistent);
81 QScopedPointer<qSlicerMouseModeToolBarPrivate>
d_ptr;
83 QAction* actionFromText(QString actionText, QMenu *menu);
A set of MRML Nodes that supports serialization and undo/redo.