Improved display of workable Q65 stations in Active Stations window.

This commit is contained in:
Joe Taylor
2022-12-15 13:59:59 -05:00
parent 58964d1f87
commit e4dd4b98a8
4 changed files with 26 additions and 26 deletions
+1 -8
View File
@@ -62,7 +62,7 @@ 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 Tx Age");
ui->header_label2->setText(" N Freq S/N Call Grid Tx Age");
ui->label->setText("QSOs:");
} else {
ui->header_label2->setText(" N Call Grid Az S/N Freq Tx Age Pts");
@@ -74,13 +74,7 @@ void ActiveStations::displayRecentStations(QString mode, QString const& t)
ui->label_3->setVisible(!b);
ui->score->setVisible(!b);
ui->sbMaxRecent->setVisible(!b);
// ui->RecentStationsPlainTextEdit->setPlainText(t);
ui->RecentStationsPlainTextEdit->insertPlainText(t);
// QString t1= " 1. R7BI KN96 41 -12 764 0 0 18\n 2. LA6OP JP67 29 +07 696 0 0* 13\n 3. G0OUC IO93 49 -20 1628 0 0 13\n 4. G5EA IO93 49 -13 1747 0 0 13\n 5. G7BHU IO93 49 -17 1191 0 0 13\n 6. ON4EB JO11 50 -01 2188 0 0 13\n 7. K2AK DM41 264 +03 1432 0 0 8\n 8. N2DEE DM79 277 -01 1297 0 0 7\n 9. AK0MR DM59 279 +07 2478 0 0 7\n10. NK5G EM20 245 -07 2149 0 0 6\n"; //TEMP
// ui->RecentStationsPlainTextEdit->setPlainText(t1);
}
int ActiveStations::maxRecent()
@@ -104,7 +98,6 @@ void ActiveStations::on_textEdit_clicked()
text = cursor.selectedText();
if(text!="") {
int nline=text.left(2).toInt()-1;
// qDebug() << "aa" << text << nline;
emit callSandP(nline);
}
}