diff options
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 |
