|
|
@ -52,33 +52,6 @@ MainViewModel::MainViewModel(QObject* parent) : ViewModel(parent) |
|
|
|
panel->selectedProbe4 = currentSelectedProbe4(); |
|
|
|
}); |
|
|
|
|
|
|
|
//Enable and disable changes in probe selection box
|
|
|
|
//connect(panel, &Console::changeProbeSelectionEnable1, [ = ]()
|
|
|
|
//{
|
|
|
|
//this->isProbeSelectionEnable1(!this->isProbeSelectionEnable1());
|
|
|
|
////this->slot1Led(this->isProbeSelectionEnable1() ? LED_COLOR_WHITE : LED_COLOR_GREEN);
|
|
|
|
//});
|
|
|
|
|
|
|
|
//connect(panel, &Console::changeProbeSelectionEnable2, [ = ]()
|
|
|
|
//{
|
|
|
|
//this->isProbeSelectionEnable2(!this->isProbeSelectionEnable2());
|
|
|
|
////this->slot2Led(this->isProbeSelectionEnable2() ? LED_COLOR_WHITE : LED_COLOR_GREEN);
|
|
|
|
//});
|
|
|
|
|
|
|
|
//connect(panel, &Console::changeProbeSelectionEnable3, [ = ]()
|
|
|
|
//{
|
|
|
|
//this->isProbeSelectionEnable3(!this->isProbeSelectionEnable3());
|
|
|
|
////this->slot3Led(this->isProbeSelectionEnable3() ? LED_COLOR_WHITE : LED_COLOR_GREEN);
|
|
|
|
//});
|
|
|
|
|
|
|
|
//connect(panel, &Console::changeProbeSelectionEnable4, [ = ]()
|
|
|
|
//{
|
|
|
|
//this->isProbeSelectionEnable4(!this->isProbeSelectionEnable4());
|
|
|
|
////this->slot4Led(this->isProbeSelectionEnable4() ? LED_COLOR_WHITE : LED_COLOR_GREEN);
|
|
|
|
//});
|
|
|
|
|
|
|
|
//connect(this, );
|
|
|
|
|
|
|
|
CONNECT_PROBE_SELECTION(1) |
|
|
|
CONNECT_PROBE_SELECTION(2) |
|
|
|
CONNECT_PROBE_SELECTION(3) |
|
|
|