mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-03 06:24:39 -04:00
Clean up the "Active Stations" display when used with Q65W.
This commit is contained in:
@@ -57,8 +57,23 @@ void ActiveStations::write_settings ()
|
||||
settings_->setValue("ReadyOnly",ui->cbReadyOnly->isChecked());
|
||||
}
|
||||
|
||||
void ActiveStations::displayRecentStations(QString const& t)
|
||||
void ActiveStations::displayRecentStations(QString mode, QString const& t)
|
||||
{
|
||||
m_mode=mode;
|
||||
bool b=(m_mode=="Q65");
|
||||
if(b) {
|
||||
ui->header_label2->setText(" N Freq Call Age");
|
||||
ui->label->setText("QSOs:");
|
||||
} else {
|
||||
ui->header_label2->setText(" N Call Grid Az S/N Freq Tx Age Pts");
|
||||
ui->label->setText("Rate:");
|
||||
}
|
||||
ui->bandChanges->setVisible(!b);
|
||||
ui->cbReadyOnly->setVisible(!b);
|
||||
ui->label_2->setVisible(!b);
|
||||
ui->label_3->setVisible(!b);
|
||||
ui->score->setVisible(!b);
|
||||
ui->sbMaxRecent->setVisible(!b);
|
||||
ui->RecentStationsPlainTextEdit->setPlainText(t);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user