2022-03-11 13:11:39 -05:00
|
|
|
// -*- Mode: C++ -*-
|
|
|
|
#ifndef ARRL_DIGI_H_
|
|
|
|
#define ARRL_DIGI_H_
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class QSettings;
|
|
|
|
class QFont;
|
|
|
|
|
|
|
|
namespace Ui {
|
2022-03-11 14:58:13 -05:00
|
|
|
class ActiveStations;
|
2022-03-11 13:11:39 -05:00
|
|
|
}
|
|
|
|
|
2022-03-11 14:58:13 -05:00
|
|
|
class ActiveStations
|
2022-03-11 13:11:39 -05:00
|
|
|
: public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-03-11 14:58:13 -05:00
|
|
|
explicit ActiveStations(QSettings *, QFont const&, QWidget * parent = 0);
|
|
|
|
~ActiveStations();
|
|
|
|
void displayActiveStations(QString const&);
|
2022-03-11 13:11:39 -05:00
|
|
|
void changeFont (QFont const&);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void read_settings ();
|
|
|
|
void write_settings ();
|
|
|
|
void setContentFont (QFont const&);
|
|
|
|
QSettings * settings_;
|
|
|
|
|
2022-03-11 14:58:13 -05:00
|
|
|
QScopedPointer<Ui::ActiveStations> ui;
|
2022-03-11 13:11:39 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|