Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkNavigationToolStorageSelectionWidget Class Reference

This widget allows the user to select a navigation tool storage. More...

#include <QmitkNavigationToolStorageSelectionWidget.h>

Inheritance diagram for QmitkNavigationToolStorageSelectionWidget:
Collaboration diagram for QmitkNavigationToolStorageSelectionWidget:

Signals

void NavigationToolStorageSelected (mitk::NavigationToolStorage::Pointer storage)
 This signal is emitted when a new navigation tool storage is selected. More...
 

Public Member Functions

 QmitkNavigationToolStorageSelectionWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~QmitkNavigationToolStorageSelectionWidget ()
 
mitk::NavigationToolStorage::Pointer GetSelectedNavigationToolStorage ()
 

Static Public Attributes

static const std::string VIEW_ID
 

Protected Slots

void NavigationToolStorageSelected (us::ServiceReferenceU s)
 

Protected Member Functions

virtual void CreateConnections ()
 Creation of the connections. More...
 
virtual void CreateQtPartControl (QWidget *parent)
 

Protected Attributes

Ui::QmitkNavigationToolStorageSelectionWidgetControls * m_Controls
 
mitk::NavigationToolStorage::Pointer m_CurrentStorage
 

Detailed Description

This widget allows the user to select a navigation tool storage.

Documentation: The widget lists all navigation tool storages which are available as microservice via the module context.

A signal is emmited whenever the tool selection changes.

Definition at line 42 of file QmitkNavigationToolStorageSelectionWidget.h.

Constructor & Destructor Documentation

QmitkNavigationToolStorageSelectionWidget::QmitkNavigationToolStorageSelectionWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
QmitkNavigationToolStorageSelectionWidget::~QmitkNavigationToolStorageSelectionWidget ( )

Member Function Documentation

void QmitkNavigationToolStorageSelectionWidget::CreateConnections ( )
protectedvirtual
void QmitkNavigationToolStorageSelectionWidget::CreateQtPartControl ( QWidget *  parent)
protectedvirtual
mitk::NavigationToolStorage::Pointer QmitkNavigationToolStorageSelectionWidget::GetSelectedNavigationToolStorage ( )
Returns
Returns the currently selected NavigationToolStorage. Returns null if no storage is selected at the moment.

Definition at line 80 of file QmitkNavigationToolStorageSelectionWidget.cpp.

References m_CurrentStorage.

void QmitkNavigationToolStorageSelectionWidget::NavigationToolStorageSelected ( mitk::NavigationToolStorage::Pointer  storage)
signal

This signal is emitted when a new navigation tool storage is selected.

Parameters
storageHolds the new selected navigation tool storage. Is null if the old storage is deselected and no new storage is selected.

Referenced by CreateConnections(), and NavigationToolStorageSelected().

void QmitkNavigationToolStorageSelectionWidget::NavigationToolStorageSelected ( us::ServiceReferenceU  s)
protectedslot

Member Data Documentation

Ui::QmitkNavigationToolStorageSelectionWidgetControls* QmitkNavigationToolStorageSelectionWidget::m_Controls
protected
mitk::NavigationToolStorage::Pointer QmitkNavigationToolStorageSelectionWidget::m_CurrentStorage
protected
const std::string QmitkNavigationToolStorageSelectionWidget::VIEW_ID
static

Definition at line 47 of file QmitkNavigationToolStorageSelectionWidget.h.


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