summaryrefslogtreecommitdiff
path: root/widgets/activeStations.h
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2022-08-08 23:08:17 +0200
committerChristoph Berg <myon@debian.org>2022-08-08 23:08:17 +0200
commit43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (patch)
treefac973fdc7378510849f4d749cd311176c023ebb /widgets/activeStations.h
parentd47341d71ff3df889c1180eb7bfb4fc0272eb26b (diff)
New upstream version 2.6.0~rc2+repackupstream/2.6.0_rc2+repack
Diffstat (limited to 'widgets/activeStations.h')
-rwxr-xr-xwidgets/activeStations.h52
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