Medical Imaging Interaction Toolkit  2018.4.99-b7f3afaa
Medical Imaging Interaction Toolkit
QmitkUSDeviceManagerWidget Class Reference

This Widget is used to manage available Ultrasound Devices. More...

#include <QmitkUSDeviceManagerWidget.h>

Inheritance diagram for QmitkUSDeviceManagerWidget:
Collaboration diagram for QmitkUSDeviceManagerWidget:

Signals

void NewDeviceButtonClicked ()
 
void EditDeviceButtonClicked (mitk::USDevice::Pointer)
 
void DeviceActivated ()
 

Public Member Functions

 QmitkUSDeviceManagerWidget (QWidget *p=nullptr, Qt::WindowFlags f1=nullptr)
 
 ~QmitkUSDeviceManagerWidget () override
 
virtual void CreateQtPartControl (QWidget *parent)
 
virtual void CreateConnections ()
 
virtual void DisconnectAllDevices ()
 

Static Public Attributes

static const std::string VIEW_ID
 

Protected Slots

void OnClickedActivateDevice ()
 
void OnClickedDisconnectDevice ()
 
void OnClickedRemoveDevice ()
 
void OnClickedNewDevice ()
 
void OnClickedEditDevice ()
 
void OnDeviceSelectionChanged (us::ServiceReferenceU reference)
 

Protected Attributes

Ui::QmitkUSDeviceManagerWidgetControls * m_Controls
 member holding the UI elements of this widget More...
 

Detailed Description

This Widget is used to manage available Ultrasound Devices.

It allows activation, deactivation and disconnection of connected devices.

Definition at line 32 of file QmitkUSDeviceManagerWidget.h.

Constructor & Destructor Documentation

◆ QmitkUSDeviceManagerWidget()

QmitkUSDeviceManagerWidget::QmitkUSDeviceManagerWidget ( QWidget *  p = nullptr,
Qt::WindowFlags  f1 = nullptr 
)

Definition at line 24 of file QmitkUSDeviceManagerWidget.cpp.

References CreateQtPartControl(), and m_Controls.

◆ ~QmitkUSDeviceManagerWidget()

QmitkUSDeviceManagerWidget::~QmitkUSDeviceManagerWidget ( )
override

Definition at line 32 of file QmitkUSDeviceManagerWidget.cpp.

Member Function Documentation

◆ CreateConnections()

void QmitkUSDeviceManagerWidget::CreateConnections ( )
virtual

◆ CreateQtPartControl()

void QmitkUSDeviceManagerWidget::CreateQtPartControl ( QWidget *  parent)
virtual

◆ DeviceActivated

void QmitkUSDeviceManagerWidget::DeviceActivated ( )
signal

Referenced by OnClickedActivateDevice().

◆ DisconnectAllDevices()

void QmitkUSDeviceManagerWidget::DisconnectAllDevices ( )
virtual

◆ EditDeviceButtonClicked

void QmitkUSDeviceManagerWidget::EditDeviceButtonClicked ( mitk::USDevice::Pointer  )
signal

Referenced by OnClickedEditDevice().

◆ NewDeviceButtonClicked

void QmitkUSDeviceManagerWidget::NewDeviceButtonClicked ( )
signal

Referenced by OnClickedNewDevice().

◆ OnClickedActivateDevice

void QmitkUSDeviceManagerWidget::OnClickedActivateDevice ( )
protectedslot

◆ OnClickedDisconnectDevice

void QmitkUSDeviceManagerWidget::OnClickedDisconnectDevice ( )
protectedslot

Definition at line 120 of file QmitkUSDeviceManagerWidget.cpp.

References m_Controls.

◆ OnClickedEditDevice

void QmitkUSDeviceManagerWidget::OnClickedEditDevice ( )
protectedslot

Definition at line 188 of file QmitkUSDeviceManagerWidget.cpp.

References EditDeviceButtonClicked(), and m_Controls.

Referenced by CreateConnections().

◆ OnClickedNewDevice

void QmitkUSDeviceManagerWidget::OnClickedNewDevice ( )
protectedslot

Definition at line 183 of file QmitkUSDeviceManagerWidget.cpp.

References NewDeviceButtonClicked().

Referenced by CreateConnections().

◆ OnClickedRemoveDevice

void QmitkUSDeviceManagerWidget::OnClickedRemoveDevice ( )
protectedslot

Definition at line 144 of file QmitkUSDeviceManagerWidget.cpp.

References m_Controls.

Referenced by CreateConnections().

◆ OnDeviceSelectionChanged

void QmitkUSDeviceManagerWidget::OnDeviceSelectionChanged ( us::ServiceReferenceU  reference)
protectedslot

Member Data Documentation

◆ m_Controls

Ui::QmitkUSDeviceManagerWidgetControls* QmitkUSDeviceManagerWidget::m_Controls
protected

◆ VIEW_ID

const std::string QmitkUSDeviceManagerWidget::VIEW_ID
static

Definition at line 39 of file QmitkUSDeviceManagerWidget.h.


The documentation for this class was generated from the following files: