mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-02 13:17:49 -04:00
Include TRperiod in the Q65 status bar label.
This commit is contained in:
parent
6d8958bce6
commit
860b0ce21e
@ -2360,14 +2360,13 @@ void MainWindow::createStatusBar() //createStatusBar
|
|||||||
void MainWindow::setup_status_bar (bool vhf)
|
void MainWindow::setup_status_bar (bool vhf)
|
||||||
{
|
{
|
||||||
auto submode = current_submode ();
|
auto submode = current_submode ();
|
||||||
if (vhf && submode != QChar::Null)
|
if (vhf && submode != QChar::Null) {
|
||||||
{
|
QString t{m_mode + " " + submode};
|
||||||
mode_label.setText (m_mode + " " + submode);
|
if(m_mode=="Q65") t=m_mode + "-" + QString::number(m_TRperiod) + submode;
|
||||||
}
|
mode_label.setText (t);
|
||||||
else
|
} else {
|
||||||
{
|
mode_label.setText (m_mode);
|
||||||
mode_label.setText (m_mode);
|
}
|
||||||
}
|
|
||||||
if ("ISCAT" == m_mode) {
|
if ("ISCAT" == m_mode) {
|
||||||
mode_label.setStyleSheet ("QLabel{color: #000000; background-color: #ff9933}");
|
mode_label.setStyleSheet ("QLabel{color: #000000; background-color: #ff9933}");
|
||||||
} else if ("JT9" == m_mode) {
|
} else if ("JT9" == m_mode) {
|
||||||
@ -7620,6 +7619,7 @@ void MainWindow::on_sbTR_valueChanged(int value)
|
|||||||
if(m_transmitting) {
|
if(m_transmitting) {
|
||||||
on_stopTxButton_clicked();
|
on_stopTxButton_clicked();
|
||||||
}
|
}
|
||||||
|
on_sbSubmode_valueChanged(ui->sbSubmode->value());
|
||||||
statusUpdate ();
|
statusUpdate ();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7644,14 +7644,13 @@ void MainWindow::on_sbSubmode_valueChanged(int n)
|
|||||||
m_nSubMode=n;
|
m_nSubMode=n;
|
||||||
m_wideGraph->setSubMode(m_nSubMode);
|
m_wideGraph->setSubMode(m_nSubMode);
|
||||||
auto submode = current_submode ();
|
auto submode = current_submode ();
|
||||||
if (submode != QChar::Null)
|
if (submode != QChar::Null) {
|
||||||
{
|
QString t{m_mode + " " + submode};
|
||||||
mode_label.setText (m_mode + " " + submode);
|
if(m_mode=="Q65") t=m_mode + "-" + QString::number(m_TRperiod) + submode;
|
||||||
}
|
mode_label.setText (t);
|
||||||
else
|
} else {
|
||||||
{
|
mode_label.setText (m_mode);
|
||||||
mode_label.setText (m_mode);
|
}
|
||||||
}
|
|
||||||
if(m_mode=="ISCAT") {
|
if(m_mode=="ISCAT") {
|
||||||
if(m_nSubMode==0) ui->TxFreqSpinBox->setValue(1012);
|
if(m_nSubMode==0) ui->TxFreqSpinBox->setValue(1012);
|
||||||
if(m_nSubMode==1) ui->TxFreqSpinBox->setValue(560);
|
if(m_nSubMode==1) ui->TxFreqSpinBox->setValue(560);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user