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.
37 lines
1.0 KiB
37 lines
1.0 KiB
#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<QString>({"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<QString>({""})), "", "", true, true, 0)
|
|
|
|
US_SPIN_BOX(reject, "Reject", (QList<QString>({""})), "", "", true, true, 0)
|
|
|
|
US_SPIN_BOX(dynamicContrast, "Dy.Cnt.", (QList<QString>({""})), "", "", true, true, 0)
|
|
|
|
US_INFO_BOX(gainM, "Gain", (QList<QString>({""})), "", "dB", true, true, 0)
|
|
};
|
|
|
|
#endif //MMODESETTINGVIEWMODEL_H
|
|
|