summaryrefslogtreecommitdiff
path: root/qmap/widegraph.h
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /qmap/widegraph.h
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'qmap/widegraph.h')
-rw-r--r--qmap/widegraph.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/qmap/widegraph.h b/qmap/widegraph.h
index e678a664..2dc241cc 100644
--- a/qmap/widegraph.h
+++ b/qmap/widegraph.h
@@ -2,6 +2,9 @@
#define WIDEGRAPH_H
#include <QDialog>
+#include <QList>
+#include "decode_click_coalescer.h"
+#include "decode_label.h"
namespace Ui {
class WideGraph;
@@ -36,11 +39,21 @@ public:
void updateFreqLabel();
void enableSetRxHardware(bool b);
+ void addDecodeLabel(QMapDecodeRecord const& record);
+ void pruneDecodeLabels(int nowSeconds);
+ void clearDecodeLabels();
+
qint32 m_qsoFreq;
signals:
void freezeDecode2(int n);
void f11f12(int n);
+ void decodeLabelClicked2(QByteArray decodeRow, DecodeClickGesture gesture);
+ // Emitted once per average cycle, right after the Horizontal Waterfall's
+ // own top-row draw(), so VertWaterfall can show exactly the same
+ // spectral data instead of an independently-decimated copy of it.
+ void spectrumReady(const float swide[], int n, double startFreqKHz, double fSpanKHz,
+ int plotZero, int plotGain);
public slots:
void wideFreezeDecode(int n);
@@ -68,6 +81,8 @@ private:
qint32 m_fSample;
qint32 m_mode65;
qint32 m_TRperiod=60;
+
+ QList<QMapDecodeLabel> m_decodeLabels;
};
#endif // WIDEGRAPH_H