Floor and Ceiling working for waterfall.

creator-widgets
Elliott Liggett 2023-09-25 20:29:01 -07:00
rodzic 579e597050
commit 214e840382
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -269,10 +269,12 @@ spectrumScope::spectrumScope(QWidget *parent)
});
connect(configBottom, &QSlider::valueChanged, this, [=](const int &val) {
this->plotFloor = val;
this->wfFloor = val;
this->setRange(plotFloor,plotCeiling);
});
connect(configTop, &QSlider::valueChanged, this, [=](const int &val) {
this->plotCeiling = val;
this->wfCeiling = val;
this->setRange(plotFloor,plotCeiling);
});

Wyświetl plik

@ -5068,9 +5068,9 @@ void wfmain::receiveMonitor(bool en)
{
qInfo() << "Text color:" << colorPrefs->textColor.name();
if (en)
ui->monitorLabel->setText(QString("<a href=\"#\" style=\"color:%0; text-decoration:none;\">Mon</a>").arg(colorPrefs->textColor.name()));
ui->monitorLabel->setText(QString("<b><a href=\"#\" style=\"color:%0; text-decoration:none;\">Mon</a></b>").arg(colorPrefs->textColor.name()));
else
ui->monitorLabel->setText(QString("<a href=\"#\" style=\"color:%0; text-decoration:none; text-decoration:line-through;\">Mon</a>").arg(colorPrefs->textColor.name()));
ui->monitorLabel->setText(QString("<a href=\"#\" style=\"color:%0; text-decoration:none;\">Mon</a>").arg(colorPrefs->textColor.name()));
emit sendLevel(funcMonitor,en);
}