kopia lustrzana https://gitlab.com/eliggett/wfview
Floor and Ceiling working for waterfall.
rodzic
579e597050
commit
214e840382
|
@ -269,10 +269,12 @@ spectrumScope::spectrumScope(QWidget *parent)
|
||||||
});
|
});
|
||||||
connect(configBottom, &QSlider::valueChanged, this, [=](const int &val) {
|
connect(configBottom, &QSlider::valueChanged, this, [=](const int &val) {
|
||||||
this->plotFloor = val;
|
this->plotFloor = val;
|
||||||
|
this->wfFloor = val;
|
||||||
this->setRange(plotFloor,plotCeiling);
|
this->setRange(plotFloor,plotCeiling);
|
||||||
});
|
});
|
||||||
connect(configTop, &QSlider::valueChanged, this, [=](const int &val) {
|
connect(configTop, &QSlider::valueChanged, this, [=](const int &val) {
|
||||||
this->plotCeiling = val;
|
this->plotCeiling = val;
|
||||||
|
this->wfCeiling = val;
|
||||||
this->setRange(plotFloor,plotCeiling);
|
this->setRange(plotFloor,plotCeiling);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -5068,9 +5068,9 @@ void wfmain::receiveMonitor(bool en)
|
||||||
{
|
{
|
||||||
qInfo() << "Text color:" << colorPrefs->textColor.name();
|
qInfo() << "Text color:" << colorPrefs->textColor.name();
|
||||||
if (en)
|
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
|
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);
|
emit sendLevel(funcMonitor,en);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue