Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
This widget allows the user to select a OpenIGTLink device source. More...
#include <QmitkIGTLDeviceSourceSelectionWidget.h>
Signals | |
void | IGTLDeviceSourceSelected (mitk::IGTLDeviceSource::Pointer source) |
This signal is emitted when a new OpenIGTLink device source is selected. More... | |
Public Member Functions | |
QmitkIGTLDeviceSourceSelectionWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr) | |
~QmitkIGTLDeviceSourceSelectionWidget () override | |
mitk::IGTLDeviceSource::Pointer | GetSelectedIGTLDeviceSource () |
Static Public Attributes | |
static const std::string | VIEW_ID |
Protected Slots | |
void | IGTLDeviceSourceSelected (us::ServiceReferenceU s) |
Protected Member Functions | |
virtual void | CreateConnections () |
Creation of the connections. More... | |
virtual void | CreateQtPartControl (QWidget *parent) |
Protected Attributes | |
Ui::QmitkIGTLDeviceSourceSelectionWidgetControls * | m_Controls |
mitk::IGTLDeviceSource::Pointer | m_CurrentIGTLDeviceSource |
This widget allows the user to select a OpenIGTLink device source.
Documentation: The widget lists all OpenIGTLink device sources which are available as microservice via the module context.
A signal is emmited whenever the device selection changes.
Definition at line 39 of file QmitkIGTLDeviceSourceSelectionWidget.h.
QmitkIGTLDeviceSourceSelectionWidget::QmitkIGTLDeviceSourceSelectionWidget | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = nullptr |
||
) |
Definition at line 21 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References CreateQtPartControl(), and m_Controls.
|
override |
Definition at line 29 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
|
protectedvirtual |
Creation of the connections.
Definition at line 47 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References IGTLDeviceSourceSelected(), m_Controls, and mitk::IGTLDeviceSource::US_PROPKEY_IGTLDEVICENAME.
Referenced by CreateQtPartControl().
|
protectedvirtual |
Definition at line 34 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References CreateConnections(), and m_Controls.
Referenced by QmitkIGTLDeviceSourceSelectionWidget().
mitk::IGTLDeviceSource::Pointer QmitkIGTLDeviceSourceSelectionWidget::GetSelectedIGTLDeviceSource | ( | ) |
Definition at line 79 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References m_CurrentIGTLDeviceSource.
|
signal |
This signal is emitted when a new OpenIGTLink device source is selected.
source | Holds the new selected OpenIGTLink device source. Is null if the old source is deselected and no new source is selected. |
Referenced by CreateConnections(), and IGTLDeviceSourceSelected().
|
protectedslot |
Definition at line 62 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References us::GetModuleContext(), IGTLDeviceSourceSelected(), and m_CurrentIGTLDeviceSource.
|
protected |
Definition at line 73 of file QmitkIGTLDeviceSourceSelectionWidget.h.
Referenced by CreateConnections(), CreateQtPartControl(), and QmitkIGTLDeviceSourceSelectionWidget().
|
protected |
Definition at line 75 of file QmitkIGTLDeviceSourceSelectionWidget.h.
Referenced by GetSelectedIGTLDeviceSource(), and IGTLDeviceSourceSelected().
|
static |
Definition at line 44 of file QmitkIGTLDeviceSourceSelectionWidget.h.