Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
This widget allows the user to select a NavigationDataSource. Tools of this Source are also shown and the user can select one of these tools. More...
#include <QmitkNavigationDataSourceSelectionWidget.h>
Signals | |
void | NavigationDataSourceSelected (mitk::NavigationDataSource::Pointer n) |
This signal is emitted when a new navigation data source is selected. More... | |
void | NavigationToolSelected (mitk::NavigationTool::Pointer n) |
This signal is emitted when a new navigation data tool is selected. More... | |
Public Member Functions | |
QmitkNavigationDataSourceSelectionWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
~QmitkNavigationDataSourceSelectionWidget () | |
mitk::NavigationDataSource::Pointer | GetSelectedNavigationDataSource () |
int | GetSelectedToolID () |
mitk::NavigationTool::Pointer | GetSelectedNavigationTool () |
mitk::NavigationToolStorage::Pointer | GetNavigationToolStorageOfSource () |
Static Public Attributes | |
static const std::string | VIEW_ID |
Protected Slots | |
void | NavigationDataSourceSelected (us::ServiceReferenceU s) |
void | NavigationToolSelected (int selection) |
Protected Member Functions | |
virtual void | CreateConnections () |
Creation of the connections. More... | |
virtual void | CreateQtPartControl (QWidget *parent) |
Protected Attributes | |
Ui::QmitkNavigationDataSourceSelectionWidgetControls * | m_Controls |
mitk::NavigationToolStorage::Pointer | m_CurrentStorage |
mitk::NavigationDataSource::Pointer | m_CurrentSource |
This widget allows the user to select a NavigationDataSource. Tools of this Source are also shown and the user can select one of these tools.
Documentation:
Definition at line 36 of file QmitkNavigationDataSourceSelectionWidget.h.
QmitkNavigationDataSourceSelectionWidget::QmitkNavigationDataSourceSelectionWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 26 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References CreateConnections(), CreateQtPartControl(), and m_Controls.
QmitkNavigationDataSourceSelectionWidget::~QmitkNavigationDataSourceSelectionWidget | ( | ) |
Definition at line 36 of file QmitkNavigationDataSourceSelectionWidget.cpp.
|
protectedvirtual |
Creation of the connections.
Definition at line 55 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_Controls, NavigationDataSourceSelected(), and NavigationToolSelected().
Referenced by QmitkNavigationDataSourceSelectionWidget().
|
protectedvirtual |
Definition at line 41 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_Controls, and mitk::NavigationDataSource::US_PROPKEY_DEVICENAME.
Referenced by QmitkNavigationDataSourceSelectionWidget().
mitk::NavigationToolStorage::Pointer QmitkNavigationDataSourceSelectionWidget::GetNavigationToolStorageOfSource | ( | ) |
Definition at line 137 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_CurrentStorage.
mitk::NavigationDataSource::Pointer QmitkNavigationDataSourceSelectionWidget::GetSelectedNavigationDataSource | ( | ) |
Definition at line 117 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_CurrentSource.
mitk::NavigationTool::Pointer QmitkNavigationDataSourceSelectionWidget::GetSelectedNavigationTool | ( | ) |
Definition at line 129 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_Controls, and m_CurrentStorage.
int QmitkNavigationDataSourceSelectionWidget::GetSelectedToolID | ( | ) |
Definition at line 123 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_Controls.
|
signal |
This signal is emitted when a new navigation data source is selected.
n | Holds the new selected navigation data source. Is null if the old source is deselected and no new source is selected. |
Referenced by CreateConnections(), and NavigationDataSourceSelected().
|
protectedslot |
Definition at line 70 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References us::GetModuleContext(), m_Controls, m_CurrentSource, m_CurrentStorage, MITK_INFO, MITK_WARN, NavigationDataSourceSelected(), mitk::NavigationDataSource::US_PROPKEY_ID, and mitk::NavigationToolStorage::US_PROPKEY_SOURCE_ID.
|
signal |
This signal is emitted when a new navigation data tool is selected.
n | Holds the new selected navigation tool. Is null if the old source is deselected and no new source is selected. |
Referenced by CreateConnections(), and NavigationToolSelected().
|
protectedslot |
Definition at line 65 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_CurrentStorage, and NavigationToolSelected().
|
protected |
Definition at line 92 of file QmitkNavigationDataSourceSelectionWidget.h.
Referenced by CreateConnections(), CreateQtPartControl(), GetSelectedNavigationTool(), GetSelectedToolID(), NavigationDataSourceSelected(), and QmitkNavigationDataSourceSelectionWidget().
|
protected |
Definition at line 97 of file QmitkNavigationDataSourceSelectionWidget.h.
Referenced by GetSelectedNavigationDataSource(), and NavigationDataSourceSelected().
|
protected |
Definition at line 96 of file QmitkNavigationDataSourceSelectionWidget.h.
Referenced by GetNavigationToolStorageOfSource(), GetSelectedNavigationTool(), NavigationDataSourceSelected(), and NavigationToolSelected().
|
static |
Definition at line 41 of file QmitkNavigationDataSourceSelectionWidget.h.