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
|
|
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 = {} ) |
◆ ~QmitkIGTLDeviceCommandWidget()
QmitkIGTLDeviceCommandWidget::~QmitkIGTLDeviceCommandWidget |
( |
| ) |
|
|
override |
◆ AdaptGUIToState
void QmitkIGTLDeviceCommandWidget::AdaptGUIToState |
( |
| ) |
|
|
protectedslot |
◆ 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()
void QmitkIGTLDeviceCommandWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
◆ CreateQtPartControl()
void QmitkIGTLDeviceCommandWidget::CreateQtPartControl |
( |
QWidget * | parent | ) |
|
|
protectedvirtual |
◆ DisableSourceControls()
void QmitkIGTLDeviceCommandWidget::DisableSourceControls |
( |
| ) |
|
|
protected |
◆ EnableSourceControls()
void QmitkIGTLDeviceCommandWidget::EnableSourceControls |
( |
| ) |
|
|
protected |
◆ FillCommandsComboBox()
void QmitkIGTLDeviceCommandWidget::FillCommandsComboBox |
( |
| ) |
|
|
protected |
◆ 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. |
Definition at line 139 of file QmitkIGTLDeviceCommandWidget.cpp.
◆ OnCommandChanged
void QmitkIGTLDeviceCommandWidget::OnCommandChanged |
( |
const QString & | curCommand | ) |
|
|
protectedslot |
◆ OnDeviceStateChanged()
void QmitkIGTLDeviceCommandWidget::OnDeviceStateChanged |
( |
| ) |
|
|
protected |
◆ OnLostConnection
void QmitkIGTLDeviceCommandWidget::OnLostConnection |
( |
| ) |
|
|
protectedslot |
Is called when the current device received a message.
Is called when the current device received a command
Is called when the current device lost a connection to one of its sockets
Definition at line 257 of file QmitkIGTLDeviceCommandWidget.cpp.
◆ OnNewConnection
void QmitkIGTLDeviceCommandWidget::OnNewConnection |
( |
| ) |
|
|
protectedslot |
◆ 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 files: