Medical Imaging Interaction Toolkit
2016.11.0
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=0, Qt::WindowFlags f=0) | |
~QmitkIGTLDeviceSourceSelectionWidget () | |
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 43 of file QmitkIGTLDeviceSourceSelectionWidget.h.
QmitkIGTLDeviceSourceSelectionWidget::QmitkIGTLDeviceSourceSelectionWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 25 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References CreateQtPartControl(), and m_Controls.
QmitkIGTLDeviceSourceSelectionWidget::~QmitkIGTLDeviceSourceSelectionWidget | ( | ) |
Definition at line 33 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
|
protectedvirtual |
Creation of the connections.
Definition at line 51 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References IGTLDeviceSourceSelected(), m_Controls, and mitk::IGTLDeviceSource::US_PROPKEY_IGTLDEVICENAME.
Referenced by CreateQtPartControl().
|
protectedvirtual |
Definition at line 38 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References CreateConnections(), and m_Controls.
Referenced by QmitkIGTLDeviceSourceSelectionWidget().
mitk::IGTLDeviceSource::Pointer QmitkIGTLDeviceSourceSelectionWidget::GetSelectedIGTLDeviceSource | ( | ) |
Definition at line 83 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 66 of file QmitkIGTLDeviceSourceSelectionWidget.cpp.
References us::GetModuleContext(), IGTLDeviceSourceSelected(), and m_CurrentIGTLDeviceSource.
|
protected |
Definition at line 77 of file QmitkIGTLDeviceSourceSelectionWidget.h.
Referenced by CreateConnections(), CreateQtPartControl(), and QmitkIGTLDeviceSourceSelectionWidget().
|
protected |
Definition at line 79 of file QmitkIGTLDeviceSourceSelectionWidget.h.
Referenced by GetSelectedIGTLDeviceSource(), and IGTLDeviceSourceSelected().
|
static |
Definition at line 48 of file QmitkIGTLDeviceSourceSelectionWidget.h.