#ifndef MMODEDISPLAYVIEWMODEL_H #define MMODEDISPLAYVIEWMODEL_H #include "viewModel/BaseViewModel.h" #include "viewModel/mMode/display/DataMModeDisplay.h" #include "model/databaseManager/type/EDatabaseRequest.h" class MModeDisplayViewModel : public BaseViewModel { Q_OBJECT US_VIEW_MODEL(MModeDisplayViewModel) SINGLETON(MModeDisplayViewModel) private: DataMModeDisplay_t _data; void nobHandle(); void plotByNobs(); void setNobs(); US_LIST(int, currentGrayMapData) //Gray Map US_POPUP_BUTTON_CUSTOM_SETTER(grayMap, "Gray Map", (QList({"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "U1", "U2", "U3"})), "", "", true, true, 0, true, false) //Tint Map US_SPIN_BOX(tintMap, "Tint Map", (QList({"Off", "Candle", "Sepia", "Soft Sepia", "Blue", "Copper", "Standard", "Clear", "Cool Blue", "Ice", "Sepia 1"})), "", "", true, true, 0) US_PROPERTY(int, posX0, 0) US_PROPERTY_CUSTOM_SETTER(int, posY0, 0) US_PROPERTY_CUSTOM_SETTER(int, posX1, 36) US_PROPERTY_CUSTOM_SETTER(int, posY1, 36) US_PROPERTY_CUSTOM_SETTER(int, posX2, 73) US_PROPERTY_CUSTOM_SETTER(int, posY2, 73) US_PROPERTY_CUSTOM_SETTER(int, posX3, 109) US_PROPERTY_CUSTOM_SETTER(int, posY3, 109) US_PROPERTY_CUSTOM_SETTER(int, posX4, 146) US_PROPERTY_CUSTOM_SETTER(int, posY4, 146) US_PROPERTY_CUSTOM_SETTER(int, posX5, 182) US_PROPERTY_CUSTOM_SETTER(int, posY5, 182) US_PROPERTY_CUSTOM_SETTER(int, posX6, 219) US_PROPERTY_CUSTOM_SETTER(int, posY6, 219) US_PROPERTY(int, posX7, 255) US_PROPERTY_CUSTOM_SETTER(int, posY7, 255) }; #endif //MMODEDISPLAYVIEWMODEL_H