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.
40 lines
1.1 KiB
40 lines
1.1 KiB
#ifndef MMODESETTINGVIEWMODEL_H
|
|
#define MMODESETTINGVIEWMODEL_H
|
|
|
|
#include "viewModel/BaseViewModel.h"
|
|
|
|
#include "viewModel/mMode/setting/DataMModeSetting.h"
|
|
|
|
|
|
class MModeSettingViewModel : public BaseViewModel
|
|
{
|
|
Q_OBJECT
|
|
US_VIEW_MODEL(MModeSettingViewModel)
|
|
SINGLETON(MModeSettingViewModel)
|
|
|
|
private:
|
|
int _lastEnhance;
|
|
|
|
US_SWITCH_BUTTON(mModeEnable, "M Mode", "", true, true, false)
|
|
|
|
US_PROPERTY(float, azimuthIntercept, 0)
|
|
|
|
US_SPIN_BOX(speed, "Speed", (QList<QString>({"1", "2", "3", "4", "5", "6"})),
|
|
"", "", true, true, 1)
|
|
|
|
US_SWITCH_BUTTON(bMQuality, "B|M Quality", "", true, true, false)
|
|
|
|
US_SPIN_BOX(enhance, "Enhance", (QList<QString>({""})), "", "", 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_INFO_BOX(gain, "Gain", (QList<QString>({""})), "", "dB", true, true, 0)
|
|
|
|
void applyPreset();
|
|
};
|
|
|
|
#endif //MMODESETTINGVIEWMODEL_H
|
|
|