mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
53 lines
920 B
C++
53 lines
920 B
C++
// -*- Mode: C++ -*-
|
|
#ifndef ARRL_DIGI_H_
|
|
#define ARRL_DIGI_H_
|
|
|
|
#include <QWidget>
|
|
|
|
class QSettings;
|
|
class QFont;
|
|
|
|
namespace Ui {
|
|
class ActiveStations;
|
|
}
|
|
|
|
class ActiveStations
|
|
: public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ActiveStations(QSettings *, QFont const&, QWidget * parent = 0);
|
|
~ActiveStations();
|
|
void displayRecentStations(QString const&);
|
|
void changeFont (QFont const&);
|
|
int maxRecent();
|
|
int maxAge();
|
|
void setClickOK(bool b);
|
|
void erase();
|
|
bool readyOnly();
|
|
void setRate(int n);
|
|
void setBandChanges(int n);
|
|
void setScore(int n);
|
|
Q_SLOT void select();
|
|
|
|
bool m_clickOK=false;
|
|
bool m_bReadyOnly;
|
|
|
|
signals:
|
|
void callSandP(int nline);
|
|
void activeStationsDisplay();
|
|
|
|
private:
|
|
void read_settings ();
|
|
void write_settings ();
|
|
Q_SLOT void on_cbReadyOnly_toggled(bool b);
|
|
|
|
qint64 m_msec0=0;
|
|
QSettings * settings_;
|
|
|
|
QScopedPointer<Ui::ActiveStations> ui;
|
|
};
|
|
|
|
#endif
|