13 #ifndef QmitkUSNewVideoDeviceWidget_h
14 #define QmitkUSNewVideoDeviceWidget_h
16 #include "MitkUSUIExports.h"
17 #include "ui_QmitkUSNewVideoDeviceWidgetControls.h"
24 #include <QListWidgetItem>
46 virtual void CreateQtPartControl(QWidget *parent);
48 virtual void CreateConnections();
64 void CreateNewDevice();
73 void OnClickedFinishedEditing();
78 void OnClickedCancel();
83 void OnDeviceTypeSelection();
85 void OnOpenFileButtonClicked();
87 void OnClickedRemoveProbe();
89 void OnClickedRemoveDepth();
91 void OnClickedAddDepths();
93 void OnProbeChanged(
const QString & probename);
95 void OnDepthChanged(
int depth, mitk::USProbe::Pointer probe);
97 void OnDepthChanged(
const QString &depth);
99 void OnSaveButtonClicked();
101 void OnLoadConfigurationButtonClicked();
103 void OnAddNewProbeClicked();
105 void OnXSpacingSpinBoxChanged(
double value);
107 void OnYSpacingSpinBoxChanged(
double value);
109 void OnCroppingTopSpinBoxChanged(
int value);
111 void OnCroppingRightSpinBoxChanged(
int value);
113 void OnCroppingBottomSpinBoxChanged(
int value);
115 void OnCroppingLeftSpinBoxChanged(
int value);
126 void ChangeUIEditingUSVideoDevice();
128 void CleanUpAfterEditingOfDevice();
130 void CleanUpAfterCreatingNewDevice();
134 mitk::USProbe::Pointer CheckIfProbeExistsAlready(
const std::string &probe);
142 void EnableDisableSpacingAndCropping(
bool enable);