diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /widgets/echograph.h | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'widgets/echograph.h')
| -rw-r--r-- | widgets/echograph.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/widgets/echograph.h b/widgets/echograph.h new file mode 100644 index 00000000..6e91782f --- /dev/null +++ b/widgets/echograph.h @@ -0,0 +1,41 @@ +#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 |
