Background colors for sub-modes in lab5.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-09-06 13:16:11 +00:00
parent 5f4c119c93
commit d2f5c99889

View File

@ -1958,6 +1958,7 @@ void MainWindow::on_actionJT65A_triggered()
soundInThread.setPeriod(m_TRperiod); soundInThread.setPeriod(m_TRperiod);
soundOutThread.setPeriod(m_TRperiod); soundOutThread.setPeriod(m_TRperiod);
g_pWideGraph->setMode65(m_mode65); g_pWideGraph->setMode65(m_mode65);
lab5->setStyleSheet("QLabel{background-color: #ff6ec7}");
lab5->setText(m_mode); lab5->setText(m_mode);
ui->actionJT65A->setChecked(true); ui->actionJT65A->setChecked(true);
} }
@ -1971,6 +1972,7 @@ void MainWindow::on_actionJT65B_triggered()
soundInThread.setPeriod(m_TRperiod); soundInThread.setPeriod(m_TRperiod);
soundOutThread.setPeriod(m_TRperiod); soundOutThread.setPeriod(m_TRperiod);
g_pWideGraph->setMode65(m_mode65); g_pWideGraph->setMode65(m_mode65);
lab5->setStyleSheet("QLabel{background-color: #ffff00}");
lab5->setText(m_mode); lab5->setText(m_mode);
ui->actionJT65B->setChecked(true); ui->actionJT65B->setChecked(true);
} }
@ -1984,6 +1986,7 @@ void MainWindow::on_actionJT65C_triggered()
soundInThread.setPeriod(m_TRperiod); soundInThread.setPeriod(m_TRperiod);
soundOutThread.setPeriod(m_TRperiod); soundOutThread.setPeriod(m_TRperiod);
g_pWideGraph->setMode65(m_mode65); g_pWideGraph->setMode65(m_mode65);
lab5->setStyleSheet("QLabel{background-color: #ffa500}");
lab5->setText(m_mode); lab5->setText(m_mode);
ui->actionJT65C->setChecked(true); ui->actionJT65C->setChecked(true);
} }
@ -1997,6 +2000,7 @@ void MainWindow::on_actionJT65B2_triggered()
soundInThread.setPeriod(m_TRperiod); soundInThread.setPeriod(m_TRperiod);
soundOutThread.setPeriod(m_TRperiod); soundOutThread.setPeriod(m_TRperiod);
g_pWideGraph->setMode65(m_mode65); g_pWideGraph->setMode65(m_mode65);
lab5->setStyleSheet("QLabel{background-color: #7fff00}");
lab5->setText(m_mode); lab5->setText(m_mode);
ui->actionJT65B2->setChecked(true); ui->actionJT65B2->setChecked(true);
} }
@ -2010,6 +2014,7 @@ void MainWindow::on_actionJT65C2_triggered()
soundInThread.setPeriod(m_TRperiod); soundInThread.setPeriod(m_TRperiod);
soundOutThread.setPeriod(m_TRperiod); soundOutThread.setPeriod(m_TRperiod);
g_pWideGraph->setMode65(m_mode65); g_pWideGraph->setMode65(m_mode65);
lab5->setStyleSheet("QLabel{background-color: #97ffff}");
lab5->setText(m_mode); lab5->setText(m_mode);
ui->actionJT65C2->setChecked(true); ui->actionJT65C2->setChecked(true);
} }