Added a few more slider things

monitor
Elliott Liggett 2021-06-19 16:18:00 -07:00
rodzic b5c7eaf95a
commit 53957466bb
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -695,7 +695,7 @@ void wfmain::setupMainUI()
freqLock = false;
connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateSizes(int)));
//connect(ui->txPowerSlider, SIGNAL(actionTriggered(int)), this, [=](func int) { statusFromSliderRaw(QString("hi"), int);})
connect(
ui->txPowerSlider, &QSlider::valueChanged,
[=](const int &newValue) { statusFromSliderPercent("Tx Power", newValue);}
@ -726,6 +726,12 @@ void wfmain::setupMainUI()
ui->scopeRefLevelSlider, &QSlider::valueChanged,
[=](const int &newValue) { statusFromSliderRaw("Scope Ref Level", newValue);}
);
connect(
ui->wfLengthSlider, &QSlider::valueChanged,
[=](const int &newValue) { statusFromSliderRaw("Waterfall Length", newValue);}
);
}
void wfmain::updateSizes(int tabIndex)