You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

88 lines
2.9 KiB

#ifndef BMODESETTINGVIEWMODEL_H
#define BMODESETTINGVIEWMODEL_H
#include "viewModel/BaseViewModel.h"
class BModeSettingViewModel : public BaseViewModel
{
Q_OBJECT
US_VIEW_MODEL(BModeSettingViewModel)
SINGLETON(BModeSettingViewModel)
private:
/**************************************************************************************************/
US_MULTI_BUTTON(sri, "SRI", (QList<QString>({""})), "", "", true, true, 0, false)
US_SPIN_BOX(persist, "Persist", (QList<QString>({""})), "", "", true, false, 1)
US_MULTI_BUTTON(frameFilter, "Frame Filter", (QList<QString>({""})), "", "",
true, true, 0, false)
US_SPIN_BOX(oti, "OTI", (QList<QString>({"Solid", "Normal", "Adipose", "Cystic"})),
"", "", true, true, 0)
US_MULTI_BUTTON(criFilter, "CRI Filter", (QList<QString>({"Low", "Mid", "High"})),
"", "", true, true, 0, false)
US_MULTI_BUTTON_CUSTOM_SETTER(lineFilter, "Line Filter", (QList<QString>({"Low", "High"})),
"", "", true, true, 0, false)
US_MULTI_BUTTON_CUSTOM_SETTER_BYPASS_ONLY(cri, "CRI", QList<QString>({""}),
"", "", true, true, 0, false)
US_SPIN_BOX(lineDensity, "Line Dens.", (QList<QString>({"Low", "Norm", "High"})),
"", "", true, true, 0)
US_SWITCH_BUTTON_CUSTOM_SETTER(ffc, "FFC", "", true, true, false)
US_SWITCH_BUTTON_CUSTOM_SETTER(hi, "HI", "", true, true, false)
US_SWITCH_BUTTON(virtualConvex, "Virtual Convex", "", true, true, false)
US_SWITCH_BUTTON_CUSTOM_SETTER(maxAngle, "Max Angle", "", true, true, false)
US_SPIN_BOX_CUSTOM_SETTER(frequency, "Frequency", {""}, "", "", true, true, 0)
US_SPIN_BOX(ao, "AO", (QList<QString>({""})), "", "%", true, true, 0)
US_SPIN_BOX_CUSTOM_SETTER(enhance,
"Enhance",
(QList<QString>({"Off", "1", "2", "3", "4", "5"})),
"",
"",
true,
true,
0)
US_SWITCH_BUTTON_INTERNAL(enhanceOff, "Enhance off", "", true, true, false)
US_SPIN_BOX(reject, "Reject", (QList<QString>({""})), "", "", true, true, 0)
US_SPIN_BOX(dynamicContrast, "Dy.Cnt.", (QList<QString>({""})), "", "", true, true, 0)
US_JOYSTICK_NUMBER(angle, "Angle", "", "°", true, true, 0)
US_PROPERTY(bool, pi, true)
US_INFO_BOX(depth, "Depth", (QList<QString>({""})), "", "cm", true, true, 0)
US_INFO_BOX(focusPoints, "Foc.Pnt.", (QList<QString>({"0"})),
"", "", true, true, 0)
US_INFO_BOX_CUSTOM_SETTER(focusNumber, "Foc.Num.", (QList<QString>({"0"})),
"", "", true, true, 0)
US_INFO_BOX(gain, "Gain", (QList<QString>({""})), "", "dB", true, true, 0)
US_INFO_BOX_BOOL(hdZoom, "HD.Zoom", true, true, false)
quint8 _mla;
quint8 _stb;
public:
void freezeChanged(bool freeze);
};
#endif //BMODESETTINGVIEWMODEL_H