More work in progress on the ActiveStations window.

This commit is contained in:
Joe Taylor
2022-03-17 09:36:59 -04:00
parent ceb13110c5
commit 15e33d22af
4 changed files with 34 additions and 1 deletions
+8
View File
@@ -23,6 +23,8 @@ ActiveStations::ActiveStations(QSettings * settings, QFont const& font, QWidget
read_settings ();
ui->header_label->setText("Pts Call Grid Az S/N Dial Freq");
ui->header_label2->setText(" Call Grid Age Points");
connect(ui->RecentStationsPlainTextEdit, &QPlainTextEdit::selectionChanged, this, select);
}
ActiveStations::~ActiveStations()
@@ -94,3 +96,9 @@ int ActiveStations::maxAge()
{
return ui->sbMaxAge->value();
}
void ActiveStations::select()
{
int nline=ui->RecentStationsPlainTextEdit->textCursor().blockNumber();
emit callSandP(nline);
}