diff options
| author | Christoph Berg <myon@debian.org> | 2022-08-08 23:08:31 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2022-08-08 23:08:31 +0200 |
| commit | dca111ba9c5235bb1a16d62c6999939bc1ac4cbe (patch) | |
| tree | 4eec80a7d177c16b0cbfe19219490c5b5c635367 /widgets/activeStations.h | |
| parent | 231d846d6f285b93cf8fa3df50492d6b51446a4c (diff) | |
| parent | 43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff) | |
Update upstream source from tag 'upstream/2.6.0_rc2+repack'
Update to upstream version '2.6.0~rc2+repack'
with Debian dir 381b71368ce7055e3f42f51abf3971cbbbbbd178
Diffstat (limited to 'widgets/activeStations.h')
| -rwxr-xr-x | widgets/activeStations.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/widgets/activeStations.h b/widgets/activeStations.h new file mode 100755 index 00000000..1897f08d --- /dev/null +++ b/widgets/activeStations.h @@ -0,0 +1,52 @@ +// -*- 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 |
