diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
| commit | 059831534c7e884f0a607ed86b582fd00d821731 (patch) | |
| tree | 76bcb67a78f8aa2654fd34c2ad801a62136b0170 /qmap/vertwaterfall.h | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'qmap/vertwaterfall.h')
| -rw-r--r-- | qmap/vertwaterfall.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/qmap/vertwaterfall.h b/qmap/vertwaterfall.h new file mode 100644 index 00000000..3a713b5e --- /dev/null +++ b/qmap/vertwaterfall.h @@ -0,0 +1,47 @@ +#ifndef VERTWATERFALL_H +#define VERTWATERFALL_H + +#include <QDialog> +#include <QList> +#include <QString> +#include "vplotter.h" + +namespace Ui { + class VertWaterfall; +} + +class VertWaterfall : public QDialog +{ + Q_OBJECT + +public: + explicit VertWaterfall (QString const& settings_filename, QWidget * parent = nullptr); + ~VertWaterfall(); + + void saveSettings(); + void pruneDecodeLabels(int nowSeconds); + void clearDecodeLabels(); + +public slots: + void dataSinkVert(const float swide[], int n, double startFreqKHz, double fSpanKHz, + int plotZero, int plotGain); + void addDecodeLabel(QMapDecodeRecord const& record); + +signals: + void decodeLabelClicked2(QByteArray decodeRow, DecodeClickGesture gesture); + +protected: + void closeEvent(QCloseEvent * event) override; + +private slots: + void on_cbShowCallsigns_toggled(bool checked); + +private: + Ui::VertWaterfall * ui; + QString m_settings_filename; + + QList<QMapDecodeLabel> m_decodeLabels; + bool m_decodeLabelsEnabled; +}; + +#endif // VERTWATERFALL_H |
