#ifndef MMODESETTINGVIEWMODEL_H #define MMODESETTINGVIEWMODEL_H #include "viewModel/BaseViewModel.h" #include "viewModel/mMode/setting/DataMModeSetting.h" #include "model/databaseManager/dto/ProbeProperties/DbmProbeProperties.h" class MModeSettingViewModel : public BaseViewModel { Q_OBJECT US_VIEW_MODEL(MModeSettingViewModel) SINGLETON(MModeSettingViewModel) private: DataMModeSetting_t _data; DbmDtoProbeProperties _prbProps; US_SWITCH_BUTTON(mModeEnable, "M Mode", "", true, true, false) US_SPIN_BOX(speedM, "Speed", (QList({"0.5", "1", "1.5", "2"})), "", "x", true, true, 1) US_SWITCH_BUTTON(bMQuality, "B|M Quality", "", true, true, false) US_SPIN_BOX(enhance, "Enhance", (QList({""})), "", "", true, true, 0) US_SPIN_BOX(reject, "Reject", (QList({""})), "", "", true, true, 0) US_SPIN_BOX(dynamicContrast, "Dy.Cnt.", (QList({""})), "", "", true, true, 0) US_INFO_BOX(gainM, "Gain", (QList({""})), "", "dB", true, true, 0) }; #endif //MMODESETTINGVIEWMODEL_H