diff options
| author | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
| commit | 37f727ac0746fd85504aa46c1f023c09b3eff33a (patch) | |
| tree | c8a7ce04545040a8f161ba279528730bd9a3e6ab /echograph.h | |
| parent | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff) | |
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'echograph.h')
| -rw-r--r-- | echograph.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/echograph.h b/echograph.h new file mode 100644 index 00000000..bc8fc52a --- /dev/null +++ b/echograph.h @@ -0,0 +1,42 @@ +#ifndef ECHOGRAPH_H +#define ECHOGRAPH_H + +#include <QDialog> +#include <QScopedPointer> + +namespace Ui { + class EchoGraph; +} + +class QSettings; + +class EchoGraph : public QDialog +{ + Q_OBJECT + +protected: + void closeEvent (QCloseEvent *) override; + +public: + explicit EchoGraph(QSettings *, QWidget *parent = 0); + ~EchoGraph(); + + void plotSpec(); + void saveSettings(); + +private slots: + void on_smoothSpinBox_valueChanged(int n); + void on_gainSlider_valueChanged(int value); + void on_zeroSlider_valueChanged(int value); + void on_binsPerPixelSpinBox_valueChanged(int n); + + void on_pbColors_clicked(); + +private: + QSettings * m_settings; + qint32 m_nColor; + + QScopedPointer<Ui::EchoGraph> ui; +}; + +#endif // ECHOGRAPH_H |
