|
Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTGUI/qSlicerMouseModeToolBar.h>


Public Types | |
| typedef QToolBar | Superclass |
Properties | |
| QString | defaultPlaceClassName |
| "vtkMRMLAnnotationFiducialNode" by default. More... | |
Public Slots | |
| void | changeCursorTo (QCursor cursor) |
| void | setApplicationLogic (vtkSlicerApplicationLogic *logic) |
| void | setMRMLScene (vtkMRMLScene *newScene) |
| Observe the mrml scene to prevent updates in batch processing modes. More... | |
| void | setPersistence (bool persistent) |
| Update the interaction node's persistent place mode from the UI. More... | |
| void | switchPlaceMode () |
| Switch to placing items of annotationID type. More... | |
| void | switchToViewTransformMode () |
Public Member Functions | |
| QString | activeActionText () |
| For testing, return the active action text. More... | |
| QString | defaultPlaceClassName () const |
| qSlicerMouseModeToolBar (const QString &title, QWidget *parent=0) | |
| qSlicerMouseModeToolBar (QWidget *parent=0) | |
| void | setDefaultPlaceClassName (const QString &className) |
| virtual | ~qSlicerMouseModeToolBar () |
Protected Member Functions | |
| QAction * | actionFromText (QString actionText, QMenu *menu) |
Protected Attributes | |
| QScopedPointer< qSlicerMouseModeToolBarPrivate > | d_ptr |
qSlicerMouseModeToolBar is a toolbar that can be used to switch between mouse modes: PickMode, PickModePersistent, PlaceMode, PlaceModePersistent, TransformMode
Definition at line 41 of file qSlicerMouseModeToolBar.h.
| typedef QToolBar qSlicerMouseModeToolBar::Superclass |
Definition at line 47 of file qSlicerMouseModeToolBar.h.
|
readwrite |
"vtkMRMLAnnotationFiducialNode" by default.
Definition at line 45 of file qSlicerMouseModeToolBar.h.
| qSlicerMouseModeToolBar::qSlicerMouseModeToolBar | ( | const QString & | title, |
| QWidget * | parent = 0 |
||
| ) |
Constructor Title is the name of the toolbar (can appear using right click on the toolbar area)
| qSlicerMouseModeToolBar::qSlicerMouseModeToolBar | ( | QWidget * | parent = 0 | ) |
|
virtual |
|
protected |
| QString qSlicerMouseModeToolBar::activeActionText | ( | ) |
For testing, return the active action text.
|
slot |
| QString qSlicerMouseModeToolBar::defaultPlaceClassName | ( | ) | const |
|
slot |
Set the application logic. It is used to retrieve the selection and interaction nodes.
| void qSlicerMouseModeToolBar::setDefaultPlaceClassName | ( | const QString & | className | ) |
|
slot |
Observe the mrml scene to prevent updates in batch processing modes.
|
slot |
Update the interaction node's persistent place mode from the UI.
|
slot |
Switch to placing items of annotationID type.
|
slot |
|
protected |
Definition at line 81 of file qSlicerMouseModeToolBar.h.
1.8.13