An object of this class offers an UI to send OpenIGTLink commands.
More...
#include <QmitkIGTLDeviceCommandWidget.h>
|
void | AdaptGUIToStateSignal () |
| used for thread seperation, the worker thread must not call AdaptGUIToState directly QT signals are thread safe and seperate the threads More...
|
|
An object of this class offers an UI to send OpenIGTLink commands.
Documentation:
Definition at line 38 of file QmitkIGTLDeviceCommandWidget.h.
◆ QmitkIGTLDeviceCommandWidget()
QmitkIGTLDeviceCommandWidget::QmitkIGTLDeviceCommandWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
◆ ~QmitkIGTLDeviceCommandWidget()
QmitkIGTLDeviceCommandWidget::~QmitkIGTLDeviceCommandWidget |
( |
| ) |
|
|
override |
◆ AdaptGUIToState
void QmitkIGTLDeviceCommandWidget::AdaptGUIToState |
( |
| ) |
|
|
protectedslot |
Adapts the GUI to the state of the device.
◆ AdaptGUIToStateSignal
void QmitkIGTLDeviceCommandWidget::AdaptGUIToStateSignal |
( |
| ) |
|
|
signal |
used for thread seperation, the worker thread must not call AdaptGUIToState directly QT signals are thread safe and seperate the threads
◆ CreateConnections()
virtual void QmitkIGTLDeviceCommandWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
Creation of the connections.
◆ CreateQtPartControl()
virtual void QmitkIGTLDeviceCommandWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
◆ DisableSourceControls()
void QmitkIGTLDeviceCommandWidget::DisableSourceControls |
( |
| ) |
|
|
protected |
◆ EnableSourceControls()
void QmitkIGTLDeviceCommandWidget::EnableSourceControls |
( |
| ) |
|
|
protected |
◆ FillCommandsComboBox()
void QmitkIGTLDeviceCommandWidget::FillCommandsComboBox |
( |
| ) |
|
|
protected |
Fills the commands combo box with available commands.
◆ Initialize()
void QmitkIGTLDeviceCommandWidget::Initialize |
( |
mitk::IGTLDevice::Pointer |
device | ) |
|
Initializes the widget with the given device.
The old device is dropped, so be careful, if the source is not saved somewhere else it might be lost. You might want to ask the user if he wants to save the changes before calling this method.
- Parameters
-
device | The widget will be initialized corresponding to the state of this device. |
◆ OnCommandChanged
void QmitkIGTLDeviceCommandWidget::OnCommandChanged |
( |
const QString & |
curCommand | ) |
|
|
protectedslot |
◆ OnDeviceStateChanged()
void QmitkIGTLDeviceCommandWidget::OnDeviceStateChanged |
( |
| ) |
|
|
protected |
◆ OnLostConnection
void QmitkIGTLDeviceCommandWidget::OnLostConnection |
( |
| ) |
|
|
protectedslot |
**
**
Is called when the current device lost a connection to one of its sockets
◆ OnNewConnection
void QmitkIGTLDeviceCommandWidget::OnNewConnection |
( |
| ) |
|
|
protectedslot |
Is called when the current device connected to another device.
◆ OnSendCommand
void QmitkIGTLDeviceCommandWidget::OnSendCommand |
( |
| ) |
|
|
protectedslot |
◆ m_CommandReceivedObserverTag
unsigned long QmitkIGTLDeviceCommandWidget::m_CommandReceivedObserverTag |
|
protected |
◆ m_Controls
Ui::QmitkIGTLDeviceCommandWidgetControls* QmitkIGTLDeviceCommandWidget::m_Controls |
|
protected |
◆ m_CurrentCommand
igtl::MessageBase::Pointer QmitkIGTLDeviceCommandWidget::m_CurrentCommand |
|
protected |
◆ m_IGTLDevice
mitk::IGTLDevice::Pointer QmitkIGTLDeviceCommandWidget::m_IGTLDevice |
|
protected |
◆ m_IsClient
bool QmitkIGTLDeviceCommandWidget::m_IsClient |
|
protected |
◆ m_LostConnectionObserverTag
unsigned long QmitkIGTLDeviceCommandWidget::m_LostConnectionObserverTag |
|
protected |
◆ m_MessageReceivedObserverTag
unsigned long QmitkIGTLDeviceCommandWidget::m_MessageReceivedObserverTag |
|
protected |
◆ m_NewConnectionObserverTag
unsigned long QmitkIGTLDeviceCommandWidget::m_NewConnectionObserverTag |
|
protected |
◆ m_StateModifiedObserverTag
unsigned long QmitkIGTLDeviceCommandWidget::m_StateModifiedObserverTag |
|
protected |
◆ VIEW_ID
const std::string QmitkIGTLDeviceCommandWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: