|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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=nullptr, Qt::WindowFlags f=nullptr) | |
| ~QmitkNavigationDataSourceSelectionWidget () override | |
| 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 32 of file QmitkNavigationDataSourceSelectionWidget.h.
| QmitkNavigationDataSourceSelectionWidget::QmitkNavigationDataSourceSelectionWidget | ( | QWidget * | parent = nullptr, |
| Qt::WindowFlags | f = nullptr |
||
| ) |
Definition at line 22 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References CreateConnections(), CreateQtPartControl(), and m_Controls.
|
override |
Definition at line 32 of file QmitkNavigationDataSourceSelectionWidget.cpp.
|
protectedvirtual |
Creation of the connections.
Definition at line 51 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_Controls, NavigationDataSourceSelected(), and NavigationToolSelected().
Referenced by QmitkNavigationDataSourceSelectionWidget().
|
protectedvirtual |
Definition at line 37 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_Controls, and mitk::NavigationDataSource::US_PROPKEY_DEVICENAME.
Referenced by QmitkNavigationDataSourceSelectionWidget().
| mitk::NavigationToolStorage::Pointer QmitkNavigationDataSourceSelectionWidget::GetNavigationToolStorageOfSource | ( | ) |
Definition at line 127 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_CurrentStorage.
| mitk::NavigationDataSource::Pointer QmitkNavigationDataSourceSelectionWidget::GetSelectedNavigationDataSource | ( | ) |
Definition at line 107 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_CurrentSource.
| mitk::NavigationTool::Pointer QmitkNavigationDataSourceSelectionWidget::GetSelectedNavigationTool | ( | ) |
Definition at line 119 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_Controls, and m_CurrentStorage.
| int QmitkNavigationDataSourceSelectionWidget::GetSelectedToolID | ( | ) |
Definition at line 113 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 66 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References us::GetModuleContext(), m_Controls, m_CurrentSource, m_CurrentStorage, MITK_INFO, MITK_WARN, and NavigationDataSourceSelected().
|
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 61 of file QmitkNavigationDataSourceSelectionWidget.cpp.
References m_CurrentStorage, and NavigationToolSelected().
|
protected |
Definition at line 88 of file QmitkNavigationDataSourceSelectionWidget.h.
Referenced by CreateConnections(), CreateQtPartControl(), GetSelectedNavigationTool(), GetSelectedToolID(), NavigationDataSourceSelected(), and QmitkNavigationDataSourceSelectionWidget().
|
protected |
Definition at line 93 of file QmitkNavigationDataSourceSelectionWidget.h.
Referenced by GetSelectedNavigationDataSource(), and NavigationDataSourceSelected().
|
protected |
Definition at line 92 of file QmitkNavigationDataSourceSelectionWidget.h.
Referenced by GetNavigationToolStorageOfSource(), GetSelectedNavigationTool(), NavigationDataSourceSelected(), and NavigationToolSelected().
|
static |
Definition at line 37 of file QmitkNavigationDataSourceSelectionWidget.h.