Medical Imaging Interaction Toolkit  2023.04.00
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=nullptr, Qt::WindowFlags f=nullptr)
 
 ~QmitkNavigationToolStorageSelectionWidget () override
 
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 38 of file QmitkNavigationToolStorageSelectionWidget.h.

Constructor & Destructor Documentation

◆ QmitkNavigationToolStorageSelectionWidget()

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

◆ ~QmitkNavigationToolStorageSelectionWidget()

QmitkNavigationToolStorageSelectionWidget::~QmitkNavigationToolStorageSelectionWidget ( )
override

Member Function Documentation

◆ CreateConnections()

virtual void QmitkNavigationToolStorageSelectionWidget::CreateConnections ( )
protectedvirtual

Creation of the connections.

◆ CreateQtPartControl()

virtual void QmitkNavigationToolStorageSelectionWidget::CreateQtPartControl ( QWidget *  parent)
protectedvirtual

◆ GetSelectedNavigationToolStorage()

mitk::NavigationToolStorage::Pointer QmitkNavigationToolStorageSelectionWidget::GetSelectedNavigationToolStorage ( )
Returns
Returns the currently selected NavigationToolStorage. Returns null if no storage is selected at the moment.

◆ NavigationToolStorageSelected [1/2]

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.

◆ NavigationToolStorageSelected [2/2]

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

Member Data Documentation

◆ m_Controls

Ui::QmitkNavigationToolStorageSelectionWidgetControls* QmitkNavigationToolStorageSelectionWidget::m_Controls
protected

Definition at line 71 of file QmitkNavigationToolStorageSelectionWidget.h.

◆ m_CurrentStorage

mitk::NavigationToolStorage::Pointer QmitkNavigationToolStorageSelectionWidget::m_CurrentStorage
protected

Definition at line 73 of file QmitkNavigationToolStorageSelectionWidget.h.

◆ VIEW_ID

const std::string QmitkNavigationToolStorageSelectionWidget::VIEW_ID
static

Definition at line 43 of file QmitkNavigationToolStorageSelectionWidget.h.


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