Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
This widget allows the user to select a OpenIGTLink message source. More...
#include <QmitkIGTLMessageSourceSelectionWidget.h>
Signals | |
void | IGTLMessageSourceSelected (mitk::IGTLMessageSource::Pointer source) |
This signal is emitted when a new OpenIGTLink message source is selected. More... | |
Public Member Functions | |
QmitkIGTLMessageSourceSelectionWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
~QmitkIGTLMessageSourceSelectionWidget () | |
mitk::IGTLMessageSource::Pointer | GetSelectedIGTLMessageSource () |
Static Public Attributes | |
static const std::string | VIEW_ID |
Protected Slots | |
void | IGTLMessageSourceSelected (us::ServiceReferenceU s) |
Protected Member Functions | |
virtual void | CreateConnections () |
Creation of the connections. More... | |
virtual void | CreateQtPartControl (QWidget *parent) |
Protected Attributes | |
Ui::QmitkIGTLMessageSourceSelectionWidgetControls * | m_Controls |
mitk::IGTLMessageSource::Pointer | m_CurrentIGTLMessageSource |
This widget allows the user to select a OpenIGTLink message source.
Documentation: The widget lists all OpenIGTLink message sources which are available as microservice via the module context.
A signal is emmited whenever the selection changes.
Definition at line 44 of file QmitkIGTLMessageSourceSelectionWidget.h.
QmitkIGTLMessageSourceSelectionWidget::QmitkIGTLMessageSourceSelectionWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 25 of file QmitkIGTLMessageSourceSelectionWidget.cpp.
References CreateQtPartControl(), m_Controls, and m_CurrentIGTLMessageSource.
QmitkIGTLMessageSourceSelectionWidget::~QmitkIGTLMessageSourceSelectionWidget | ( | ) |
Definition at line 34 of file QmitkIGTLMessageSourceSelectionWidget.cpp.
|
protectedvirtual |
Creation of the connections.
Definition at line 52 of file QmitkIGTLMessageSourceSelectionWidget.cpp.
References IGTLMessageSourceSelected(), m_Controls, and mitk::IGTLMessageSource::US_PROPKEY_DEVICENAME.
Referenced by CreateQtPartControl().
|
protectedvirtual |
Definition at line 39 of file QmitkIGTLMessageSourceSelectionWidget.cpp.
References CreateConnections(), and m_Controls.
Referenced by QmitkIGTLMessageSourceSelectionWidget().
mitk::IGTLMessageSource::Pointer QmitkIGTLMessageSourceSelectionWidget::GetSelectedIGTLMessageSource | ( | ) |
Definition at line 84 of file QmitkIGTLMessageSourceSelectionWidget.cpp.
References m_CurrentIGTLMessageSource.
|
signal |
This signal is emitted when a new OpenIGTLink message 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 IGTLMessageSourceSelected().
|
protectedslot |
Definition at line 67 of file QmitkIGTLMessageSourceSelectionWidget.cpp.
References us::GetModuleContext(), IGTLMessageSourceSelected(), and m_CurrentIGTLMessageSource.
|
protected |
Definition at line 80 of file QmitkIGTLMessageSourceSelectionWidget.h.
Referenced by CreateConnections(), CreateQtPartControl(), and QmitkIGTLMessageSourceSelectionWidget().
|
protected |
Definition at line 82 of file QmitkIGTLMessageSourceSelectionWidget.h.
Referenced by GetSelectedIGTLMessageSource(), IGTLMessageSourceSelected(), and QmitkIGTLMessageSourceSelectionWidget().
|
static |
Definition at line 50 of file QmitkIGTLMessageSourceSelectionWidget.h.