This widget allows the user to select a OpenIGTLink device source.
More...
#include <QmitkIGTLDeviceSourceSelectionWidget.h>
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::QmitkIGTLDeviceSourceSelectionWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
◆ ~QmitkIGTLDeviceSourceSelectionWidget()
QmitkIGTLDeviceSourceSelectionWidget::~QmitkIGTLDeviceSourceSelectionWidget |
( |
| ) |
|
|
override |
◆ CreateConnections()
virtual void QmitkIGTLDeviceSourceSelectionWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
Creation of the connections.
◆ CreateQtPartControl()
virtual void QmitkIGTLDeviceSourceSelectionWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
◆ GetSelectedIGTLDeviceSource()
mitk::IGTLDeviceSource::Pointer QmitkIGTLDeviceSourceSelectionWidget::GetSelectedIGTLDeviceSource |
( |
| ) |
|
- Returns
- Returns the currently selected OpenIGTLink device source. Returns null if no source is selected at the moment.
◆ IGTLDeviceSourceSelected [1/2]
void QmitkIGTLDeviceSourceSelectionWidget::IGTLDeviceSourceSelected |
( |
mitk::IGTLDeviceSource::Pointer |
source | ) |
|
|
signal |
This signal is emitted when a new OpenIGTLink device source is selected.
- Parameters
-
source | Holds the new selected OpenIGTLink device source. Is null if the old source is deselected and no new source is selected. |
◆ IGTLDeviceSourceSelected [2/2]
◆ m_Controls
Ui::QmitkIGTLDeviceSourceSelectionWidgetControls* QmitkIGTLDeviceSourceSelectionWidget::m_Controls |
|
protected |
◆ m_CurrentIGTLDeviceSource
mitk::IGTLDeviceSource::Pointer QmitkIGTLDeviceSourceSelectionWidget::m_CurrentIGTLDeviceSource |
|
protected |
◆ VIEW_ID
const std::string QmitkIGTLDeviceSourceSelectionWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: