Slicer  5.1
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 | Public Member Functions | Protected Attributes
qSlicerViewersToolBar Class Reference

#include <Base/QTGUI/qSlicerViewersToolBar.h>

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

Public Types

typedef QToolBar Superclass
 

Public Slots

void setApplicationLogic (vtkSlicerApplicationLogic *logic)
 
void setMRMLScene (vtkMRMLScene *newScene)
 

Public Member Functions

 qSlicerViewersToolBar (const QString &title, QWidget *parent=nullptr)
 
 qSlicerViewersToolBar (QWidget *parent=nullptr)
 
 ~qSlicerViewersToolBar () override
 

Protected Attributes

QScopedPointer< qSlicerViewersToolBarPrivate > d_ptr
 

Detailed Description

qSlicerViewersToolBar is a toolbar that can be used to switch modes of the various viewers. For example, toggling frequently used modes like the Crosshair on the 2D Viewers.

Note
The toolbar expects qSlicerCoreApplication::mrmlApplicationLogic() to return a valid object

Definition at line 40 of file qSlicerViewersToolBar.h.

Member Typedef Documentation

◆ Superclass

Definition at line 44 of file qSlicerViewersToolBar.h.

Constructor & Destructor Documentation

◆ qSlicerViewersToolBar() [1/2]

qSlicerViewersToolBar::qSlicerViewersToolBar ( const QString &  title,
QWidget *  parent = nullptr 
)

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

◆ qSlicerViewersToolBar() [2/2]

qSlicerViewersToolBar::qSlicerViewersToolBar ( QWidget *  parent = nullptr)

◆ ~qSlicerViewersToolBar()

qSlicerViewersToolBar::~qSlicerViewersToolBar ( )
override

Member Function Documentation

◆ setApplicationLogic

void qSlicerViewersToolBar::setApplicationLogic ( vtkSlicerApplicationLogic logic)
slot

◆ setMRMLScene

void qSlicerViewersToolBar::setMRMLScene ( vtkMRMLScene newScene)
slot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerViewersToolBarPrivate> qSlicerViewersToolBar::d_ptr
protected

Definition at line 59 of file qSlicerViewersToolBar.h.


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