Slicer  5.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes
qMRMLMarkupsToolBar Class Reference

#include <Modules/Loadable/Markups/Widgets/qMRMLMarkupsToolBar.h>

Inheritance diagram for qMRMLMarkupsToolBar:
Inheritance graph
[legend]
Collaboration diagram for qMRMLMarkupsToolBar:
Collaboration graph
[legend]

Public Types

typedef QToolBar Superclass
 

Public Slots

void interactionModeActionTriggered (bool)
 
void onAddNewAnnotationNodeByClass (const QString &className)
 
void onAddNewMarkupsNodeByClass (const QString &className)
 Create markup by class. More...
 
void onCreateNodeShortcut ()
 
void onPlacePointShortcut ()
 
void onTogglePersistenceShortcut ()
 
void setActiveMarkupsNode (vtkMRMLMarkupsNode *newActiveMarkupsNode)
 Set the currently selected markups node. More...
 
void setApplicationLogic (vtkSlicerApplicationLogic *logic)
 
void setInteractionNode (vtkMRMLInteractionNode *interactionNode)
 
virtual void setMRMLScene (vtkMRMLScene *newScene)
 
void setPersistence (bool persistent)
 
void setSelectionNode (vtkMRMLSelectionNode *selectionNode)
 
void updateToolBarLayout ()
 

Signals

void activeMarkupsNodeChanged (vtkMRMLNode *activeMarkupsNode)
 
void activeMarkupsPlaceModeChanged (bool enabled)
 
void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

vtkMRMLMarkupsNodeactiveMarkupsNode ()
 
void addCreateNodeShortcut (QString keySequence)
 
void addPlacePointShortcut (QString keySequence)
 
void addTogglePersistenceShortcut (QString keySequence)
 
void initializeToolBarLayout ()
 
Q_INVOKABLE vtkMRMLInteractionNodeinteractionNode () const
 
 qMRMLMarkupsToolBar (const QString &title, QWidget *parent=0)
 
 qMRMLMarkupsToolBar (QWidget *parent=0)
 
Q_INVOKABLE vtkMRMLSelectionNodeselectionNode () const
 
 ~qMRMLMarkupsToolBar () override
 

Protected Slots

void onMarkupsNodeChanged (vtkMRMLNode *)
 Update the widget when a different markups node is selected by the combo box. More...
 

Protected Attributes

QScopedPointer< qMRMLMarkupsToolBarPrivate > d_ptr
 

Detailed Description

Definition at line 56 of file qMRMLMarkupsToolBar.h.

Member Typedef Documentation

◆ Superclass

Definition at line 61 of file qMRMLMarkupsToolBar.h.

Constructor & Destructor Documentation

◆ qMRMLMarkupsToolBar() [1/2]

qMRMLMarkupsToolBar::qMRMLMarkupsToolBar ( const QString &  title,
QWidget *  parent = 0 
)

Constructor Title is the name of the toolbar (can appear using right click on the toolbar area)

◆ qMRMLMarkupsToolBar() [2/2]

qMRMLMarkupsToolBar::qMRMLMarkupsToolBar ( QWidget *  parent = 0)

◆ ~qMRMLMarkupsToolBar()

qMRMLMarkupsToolBar::~qMRMLMarkupsToolBar ( )
override

Member Function Documentation

◆ activeMarkupsNode()

vtkMRMLMarkupsNode* qMRMLMarkupsToolBar::activeMarkupsNode ( )

◆ activeMarkupsNodeChanged

void qMRMLMarkupsToolBar::activeMarkupsNodeChanged ( vtkMRMLNode activeMarkupsNode)
signal

◆ activeMarkupsPlaceModeChanged

void qMRMLMarkupsToolBar::activeMarkupsPlaceModeChanged ( bool  enabled)
signal

◆ addCreateNodeShortcut()

void qMRMLMarkupsToolBar::addCreateNodeShortcut ( QString  keySequence)

◆ addPlacePointShortcut()

void qMRMLMarkupsToolBar::addPlacePointShortcut ( QString  keySequence)

◆ addTogglePersistenceShortcut()

void qMRMLMarkupsToolBar::addTogglePersistenceShortcut ( QString  keySequence)

◆ initializeToolBarLayout()

void qMRMLMarkupsToolBar::initializeToolBarLayout ( )

◆ interactionModeActionTriggered

void qMRMLMarkupsToolBar::interactionModeActionTriggered ( bool  )
slot

◆ interactionNode()

Q_INVOKABLE vtkMRMLInteractionNode* qMRMLMarkupsToolBar::interactionNode ( ) const

◆ mrmlSceneChanged

void qMRMLMarkupsToolBar::mrmlSceneChanged ( vtkMRMLScene )
signal

◆ onAddNewAnnotationNodeByClass

void qMRMLMarkupsToolBar::onAddNewAnnotationNodeByClass ( const QString &  className)
slot

◆ onAddNewMarkupsNodeByClass

void qMRMLMarkupsToolBar::onAddNewMarkupsNodeByClass ( const QString &  className)
slot

Create markup by class.

◆ onCreateNodeShortcut

void qMRMLMarkupsToolBar::onCreateNodeShortcut ( )
slot

◆ onMarkupsNodeChanged

void qMRMLMarkupsToolBar::onMarkupsNodeChanged ( vtkMRMLNode )
protectedslot

Update the widget when a different markups node is selected by the combo box.

◆ onPlacePointShortcut

void qMRMLMarkupsToolBar::onPlacePointShortcut ( )
slot

◆ onTogglePersistenceShortcut

void qMRMLMarkupsToolBar::onTogglePersistenceShortcut ( )
slot

◆ selectionNode()

Q_INVOKABLE vtkMRMLSelectionNode* qMRMLMarkupsToolBar::selectionNode ( ) const

◆ setActiveMarkupsNode

void qMRMLMarkupsToolBar::setActiveMarkupsNode ( vtkMRMLMarkupsNode newActiveMarkupsNode)
slot

Set the currently selected markups node.

◆ setApplicationLogic

void qMRMLMarkupsToolBar::setApplicationLogic ( vtkSlicerApplicationLogic logic)
slot

◆ setInteractionNode

void qMRMLMarkupsToolBar::setInteractionNode ( vtkMRMLInteractionNode interactionNode)
slot

◆ setMRMLScene

virtual void qMRMLMarkupsToolBar::setMRMLScene ( vtkMRMLScene newScene)
virtualslot

◆ setPersistence

void qMRMLMarkupsToolBar::setPersistence ( bool  persistent)
slot

◆ setSelectionNode

void qMRMLMarkupsToolBar::setSelectionNode ( vtkMRMLSelectionNode selectionNode)
slot

◆ updateToolBarLayout

void qMRMLMarkupsToolBar::updateToolBarLayout ( )
slot

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLMarkupsToolBarPrivate> qMRMLMarkupsToolBar::d_ptr
protected

Definition at line 109 of file qMRMLMarkupsToolBar.h.


The documentation for this class was generated from the following file: