Add a mode label color for FT4, and fix a typo. Thanks to Yukio, JG1APX!

This commit is contained in:
Joe Taylor 2020-05-23 09:05:01 -04:00
parent c8583f203d
commit 8a572eb4a2

View File

@ -1194,7 +1194,7 @@ void MainWindow::readSettings()
m_ndepth=m_settings->value("NDepth",3).toInt();
m_pctx=m_settings->value("PctTx",20).toInt();
m_dBm=m_settings->value("dBm",37).toInt();
m_send_RR73=m_settings->value("RR73",37).toBool();
m_send_RR73=m_settings->value("RR73",false).toBool();
if(m_send_RR73) {
m_send_RR73=false;
on_txrb4_doubleClicked();
@ -2286,10 +2286,13 @@ void MainWindow::setup_status_bar (bool vhf)
mode_label.setStyleSheet ("QLabel{background-color: #99ff33}");
} else if ("MSK144" == m_mode) {
mode_label.setStyleSheet ("QLabel{background-color: #ff6666}");
} else if ("FT4" == m_mode) {
mode_label.setStyleSheet ("QLabel{background-color: #ff0099}");
} else if ("FT8" == m_mode) {
mode_label.setStyleSheet ("QLabel{background-color: #6699ff}");
} else if ("FreqCal" == m_mode) {
mode_label.setStyleSheet ("QLabel{background-color: #ff9933}"); }
mode_label.setStyleSheet ("QLabel{background-color: #ff9933}");
}
last_tx_label.setText (QString {});
if (m_mode.contains (QRegularExpression {R"(^(Echo|ISCAT))"})) {
if (band_hopping_label.isVisible ()) statusBar ()->removeWidget (&band_hopping_label);