mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-25 05:29:16 -04:00
Set background color of QMAP's MaxDrift control if its valus is > 0.
This commit is contained in:
parent
8be6d702d2
commit
517ca61f5c
@ -1114,3 +1114,13 @@ void MainWindow::on_actionAlso_Q65_30x_toggled(bool b)
|
||||
m_bAlso30=b;
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::on_sbMaxDrift_valueChanged(int n)
|
||||
{
|
||||
qDebug() << "aa";
|
||||
if(n>0) {
|
||||
ui->sbMaxDrift->setStyleSheet("QSpinBox { background-color: #ff6666; }");
|
||||
} else {
|
||||
ui->sbMaxDrift->setStyleSheet("");
|
||||
}
|
||||
}
|
||||
|
@ -84,6 +84,8 @@ private slots:
|
||||
void on_actionQuick_Start_Guide_to_WSJT_X_2_7_and_QMAP_triggered();
|
||||
void on_actionAlso_Q65_30x_toggled(bool b);
|
||||
|
||||
void on_sbMaxDrift_valueChanged(int arg1);
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
QString m_appDir;
|
||||
|
Loading…
Reference in New Issue
Block a user