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.
28 lines
650 B
28 lines
650 B
3 years ago
|
#ifndef MMODEDISPLAYVIEWMODEL_H
|
||
|
#define MMODEDISPLAYVIEWMODEL_H
|
||
|
|
||
|
#include "viewModel/BaseViewModel.h"
|
||
|
#include "viewModel/bMode/display/tint/TintMapManager.h"
|
||
|
#include "viewModel/bMode/display/gray/GrayMapManager.h"
|
||
|
|
||
|
class MModeDisplayViewModel : public BaseViewModel
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
US_VIEW_MODEL(MModeDisplayViewModel)
|
||
|
SINGLETON(MModeDisplayViewModel)
|
||
|
|
||
|
private:
|
||
|
US_PROPERTY_VIEW_ONLY(TintMapManager*, tintManager, new TintMapManager)
|
||
|
US_PROPERTY_VIEW_ONLY(GrayMapManager*, grayMapManager, new GrayMapManager)
|
||
|
|
||
|
|
||
|
//uncrustify off
|
||
|
public slots:
|
||
|
//uncrustify on
|
||
|
void newTintMap();
|
||
|
void newGrayMap();
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif //MMODEDISPLAYVIEWMODEL_H
|