Browse Source

some properties added to TGCViewModel.h

master
pouya 3 years ago
parent
commit
52c5b206e3
  1. 2
      logic/include/viewModel/image/ImageViewModel.h
  2. 5
      logic/include/viewModel/tgc/TgcViewModel.h
  3. 2
      logic/include/viewModel/user/UserViewModel.h
  4. 2
      ui

2
logic/include/viewModel/image/ImageViewModel.h

@ -72,7 +72,7 @@ private:
US_SWITCH_BUTTON_CUSTOM_SETTER_INTERNAL(quad, "Quad", "", true, true, false)
US_PROPERTY_VIEW_ONLY(bool, mModeEnable, false)
US_PROPERTY_VIEW_ONLY(bool, mModeEnable, true)
US_PROPERTY_VIEW_ONLY(bool, mModeLineSelected, false)
public:

5
logic/include/viewModel/tgc/TgcViewModel.h

@ -50,6 +50,11 @@ private:
US_PROPERTY_VIEW_ONLY(bool, enabled, true)
//Joysticks
US_PROPERTY_VIEW_ONLY(QString, nearField, "Near Field")
US_PROPERTY_VIEW_ONLY(QString, farField, "Far Field")
US_PROPERTY_VIEW_ONLY(QString, overalGain, "Overal Gain")
US_JOYSTICK_NUMBER(angle, "AO", "", "%", true, true, 0)
};

2
logic/include/viewModel/user/UserViewModel.h

@ -12,7 +12,7 @@ class UserViewModel : public BaseViewModel
SINGLETON(UserViewModel)
private:
US_PROPERTY(EMenuTab::eMenuTab, activeTab, EMenuTab::B_TAB)
US_PROPERTY(EMenuTab::eMenuTab, activeTab, EMenuTab::M_TAB)
US_PROPERTY_VIEW_ONLY(bool, viewTGC, false)
US_PROPERTY_CUSTOM_SETTER_INTERNAL(bool, viewMeasurement, false)

2
ui

@ -1 +1 @@
Subproject commit e8bd81e551edb1fde7a89c13fd33e1cbd978f817
Subproject commit f42205d0d93358dfba05af310f61a64633a0cf30
Loading…
Cancel
Save