Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
This Widget enables the USer to create and connect Video Devices. More...
#include <QmitkUSNewVideoDeviceWidget.h>
Public Slots | |
void | EditDevice (mitk::USDevice::Pointer device) |
void | CreateNewDevice () |
Signals | |
void | Finished () |
Public Member Functions | |
QmitkUSNewVideoDeviceWidget (QWidget *p=0, Qt::WindowFlags f1=0) | |
virtual | ~QmitkUSNewVideoDeviceWidget () |
virtual void | CreateQtPartControl (QWidget *parent) |
virtual void | CreateConnections () |
Static Public Attributes | |
static const std::string | VIEW_ID |
Protected Slots | |
void | OnClickedDone () |
void | OnClickedFinishedEditing () |
void | OnClickedCancel () |
void | OnDeviceTypeSelection () |
void | OnOpenFileButtonClicked () |
void | OnClickedRemoveProbe () |
void | OnClickedRemoveDepth () |
void | OnClickedAddDepths () |
void | OnProbeChanged (const QString &probename) |
Protected Member Functions | |
QListWidgetItem * | ConstructItemFromDevice (mitk::USDevice::Pointer device) |
void | ChangeUIEditingUSVideoDevice () |
void | CleanUpAfterEditingOfDevice () |
void | CleanUpAfterCreatingNewDevice () |
void | AddProbesToDevice (mitk::USVideoDevice::Pointer device) |
Protected Attributes | |
Ui::QmitkUSNewVideoDeviceWidgetControls * | m_Controls |
member holding the UI elements of this widget More... | |
bool | m_Active |
mitk::USVideoDevice::Pointer | m_TargetDevice |
This is the device to edit. It is either the device transmitted in the "EditDevice" signal, or a new one if the "CreateNewDevice slot was called. More... | |
This Widget enables the USer to create and connect Video Devices.
Definition at line 36 of file QmitkUSNewVideoDeviceWidget.h.
QmitkUSNewVideoDeviceWidget::QmitkUSNewVideoDeviceWidget | ( | QWidget * | p = 0 , |
Qt::WindowFlags | f1 = 0 |
||
) |
Definition at line 30 of file QmitkUSNewVideoDeviceWidget.cpp.
References CreateQtPartControl(), and m_Controls.
|
virtual |
Definition at line 38 of file QmitkUSNewVideoDeviceWidget.cpp.
|
protected |
Definition at line 389 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, and mitk::USProbe::New().
Referenced by OnClickedDone(), and OnClickedFinishedEditing().
|
protected |
Definition at line 294 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, m_TargetDevice, OnClickedFinishedEditing(), and OnProbeChanged().
Referenced by EditDevice().
|
protected |
Definition at line 374 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, and OnClickedDone().
Referenced by OnClickedCancel(), and OnClickedDone().
|
protected |
Definition at line 380 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, and OnClickedFinishedEditing().
Referenced by OnClickedCancel(), and OnClickedFinishedEditing().
|
protected |
Definition at line 284 of file QmitkUSNewVideoDeviceWidget.cpp.
|
virtual |
Definition at line 53 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, OnClickedAddDepths(), OnClickedCancel(), OnClickedRemoveDepth(), OnClickedRemoveProbe(), OnDeviceTypeSelection(), OnOpenFileButtonClicked(), and OnProbeChanged().
Referenced by CreateQtPartControl().
|
slot |
Definition at line 264 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Active, m_Controls, m_TargetDevice, and OnClickedDone().
|
virtual |
Definition at line 42 of file QmitkUSNewVideoDeviceWidget.cpp.
References CreateConnections(), and m_Controls.
Referenced by QmitkUSNewVideoDeviceWidget().
|
slot |
Definition at line 248 of file QmitkUSNewVideoDeviceWidget.cpp.
References ChangeUIEditingUSVideoDevice(), m_Active, m_TargetDevice, and mitkThrow.
|
signal |
Referenced by OnClickedCancel(), OnClickedDone(), and OnClickedFinishedEditing().
|
protectedslot |
Definition at line 319 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, m_TargetDevice, and OnProbeChanged().
Referenced by CreateConnections().
|
protectedslot |
Definition at line 207 of file QmitkUSNewVideoDeviceWidget.cpp.
References CleanUpAfterCreatingNewDevice(), CleanUpAfterEditingOfDevice(), Finished(), m_Active, and m_TargetDevice.
Referenced by CreateConnections().
|
protectedslot |
Definition at line 82 of file QmitkUSNewVideoDeviceWidget.cpp.
References AddProbesToDevice(), CleanUpAfterCreatingNewDevice(), Finished(), m_Active, m_Controls, MITK_ERROR, mitkThrow, mitk::USProbe::New(), and mitk::ImageSource::New().
Referenced by CleanUpAfterCreatingNewDevice(), and CreateNewDevice().
|
protectedslot |
Definition at line 172 of file QmitkUSNewVideoDeviceWidget.cpp.
References AddProbesToDevice(), CleanUpAfterEditingOfDevice(), Finished(), m_Active, m_Controls, m_TargetDevice, MITK_ERROR, MITK_INFO, and mitkThrow.
Referenced by ChangeUIEditingUSVideoDevice(), and CleanUpAfterEditingOfDevice().
|
protectedslot |
Definition at line 336 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, and m_TargetDevice.
Referenced by CreateConnections().
|
protectedslot |
Definition at line 348 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, and m_TargetDevice.
Referenced by CreateConnections().
|
protectedslot |
Definition at line 216 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls.
Referenced by CreateConnections(), and OnOpenFileButtonClicked().
|
protectedslot |
Definition at line 232 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, and OnDeviceTypeSelection().
Referenced by CreateConnections().
|
protectedslot |
Definition at line 359 of file QmitkUSNewVideoDeviceWidget.cpp.
References m_Controls, and m_TargetDevice.
Referenced by ChangeUIEditingUSVideoDevice(), CreateConnections(), and OnClickedAddDepths().
|
protected |
Definition at line 121 of file QmitkUSNewVideoDeviceWidget.h.
Referenced by CreateNewDevice(), EditDevice(), OnClickedCancel(), OnClickedDone(), and OnClickedFinishedEditing().
|
protected |
member holding the UI elements of this widget
Definition at line 100 of file QmitkUSNewVideoDeviceWidget.h.
Referenced by AddProbesToDevice(), ChangeUIEditingUSVideoDevice(), CleanUpAfterCreatingNewDevice(), CleanUpAfterEditingOfDevice(), CreateConnections(), CreateNewDevice(), CreateQtPartControl(), OnClickedAddDepths(), OnClickedDone(), OnClickedFinishedEditing(), OnClickedRemoveDepth(), OnClickedRemoveProbe(), OnDeviceTypeSelection(), OnOpenFileButtonClicked(), OnProbeChanged(), and QmitkUSNewVideoDeviceWidget().
|
protected |
This is the device to edit. It is either the device transmitted in the "EditDevice" signal, or a new one if the "CreateNewDevice slot was called.
Definition at line 127 of file QmitkUSNewVideoDeviceWidget.h.
Referenced by ChangeUIEditingUSVideoDevice(), CreateNewDevice(), EditDevice(), OnClickedAddDepths(), OnClickedCancel(), OnClickedFinishedEditing(), OnClickedRemoveDepth(), OnClickedRemoveProbe(), and OnProbeChanged().
|
static |
Definition at line 43 of file QmitkUSNewVideoDeviceWidget.h.