Use monospace font in ActiveStations window.

This commit is contained in:
Joe Taylor
2022-03-16 15:33:21 -04:00
parent e732c5ba62
commit ceb13110c5
3 changed files with 49 additions and 45 deletions
+7 -1
View File
@@ -18,9 +18,11 @@ ActiveStations::ActiveStations(QSettings * settings, QFont const& font, QWidget
ui->setupUi(this);
setWindowTitle (QApplication::applicationName () + " - " + tr ("Active Stations"));
ui->ActiveStationsPlainTextEdit->setReadOnly (true);
ui->RecentStationsPlainTextEdit->setReadOnly (true);
changeFont (font);
read_settings ();
ui->header_label->setText("Pts Call Grid Az S/N Dial Freq");
ui->header_label2->setText(" Call Grid Age Points");
}
ActiveStations::~ActiveStations()
@@ -33,10 +35,14 @@ void ActiveStations::changeFont (QFont const& font)
ui->header_label->setStyleSheet (font_as_stylesheet (font));
ui->ActiveStationsPlainTextEdit->setStyleSheet (font_as_stylesheet (font));
setContentFont (font);
ui->header_label2->setStyleSheet (font_as_stylesheet (font));
ui->RecentStationsPlainTextEdit->setStyleSheet (font_as_stylesheet (font));
// setContentFont (font);
updateGeometry ();
}
void ActiveStations::setContentFont(QFont const& font)
{
ui->ActiveStationsPlainTextEdit->setFont (font);