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.
33 lines
1.1 KiB
33 lines
1.1 KiB
3 years ago
|
#ifndef SIMULATIONVIEWMODEL_H
|
||
|
#define SIMULATIONVIEWMODEL_H
|
||
|
|
||
|
#include "viewModel/BaseViewModel.h"
|
||
|
|
||
|
class SimulationViewModel : public BaseViewModel
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
US_VIEW_MODEL(SimulationViewModel)
|
||
|
SINGLETON(SimulationViewModel)
|
||
|
|
||
|
private:
|
||
|
|
||
|
US_SWITCH_BUTTON(rxTesterMode, "Run Test", "", true, true, false)
|
||
|
US_SWITCH_BUTTON(simulationTest, "Test Mode", "", true, true, false)
|
||
|
US_SWITCH_BUTTON(oneshot, "Compare", "", true, true, true)
|
||
|
US_SWITCH_BUTTON(autoIncrement, "Auto Increment", "", true, true, true)
|
||
|
US_SWITCH_BUTTON(upload, "Upload", "", true, true, false)
|
||
|
|
||
|
US_SWITCH_BUTTON(freeTest1, "Meas. h5", "", true, true, false)
|
||
|
US_SWITCH_BUTTON(freeTest2, "Test 2", "", true, true, false)
|
||
|
US_SWITCH_BUTTON(freeTest3, "Test 3", "", true, true, false)
|
||
|
US_SWITCH_BUTTON(freeTest4, "Test 4", "", true, true, false)
|
||
|
US_SWITCH_BUTTON(freeTest5, "Test 5", "", true, true, false)
|
||
|
|
||
|
US_PROPERTY(QString, simulationFolder, "")
|
||
|
US_SIMPLE_BUTTON(workingDirOpen, "Open", "", true, true)
|
||
|
|
||
|
US_PROPERTY_INTERNAL(bool, openDialog, false)
|
||
|
};
|
||
|
|
||
|
#endif //SIMULATIONVIEWMODEL_H
|