blob: 3a713b5e1611a33ecf09c921eefcfdb1277d1d77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
|