2015-06-04 12:42:38 -04:00
|
|
|
#ifndef ECHOGRAPH_H
|
|
|
|
#define ECHOGRAPH_H
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class EchoGraph;
|
|
|
|
}
|
|
|
|
|
2015-06-04 14:17:13 -04:00
|
|
|
class QSettings;
|
|
|
|
|
2015-06-04 12:42:38 -04:00
|
|
|
class EchoGraph : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2015-06-04 13:16:55 -04:00
|
|
|
protected:
|
|
|
|
void closeEvent (QCloseEvent *) override;
|
|
|
|
|
2015-06-04 12:42:38 -04:00
|
|
|
public:
|
2015-06-04 14:17:13 -04:00
|
|
|
explicit EchoGraph(QSettings *, QWidget *parent = 0);
|
2015-06-04 12:42:38 -04:00
|
|
|
~EchoGraph();
|
|
|
|
|
|
|
|
void plotSpec();
|
|
|
|
void saveSettings();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_smoothSpinBox_valueChanged(int n);
|
|
|
|
void on_cbBlue_toggled(bool checked);
|
|
|
|
void on_gainSlider_valueChanged(int value);
|
|
|
|
void on_zeroSlider_valueChanged(int value);
|
|
|
|
|
|
|
|
private:
|
2015-06-04 14:17:13 -04:00
|
|
|
QSettings * m_settings;
|
2015-06-04 12:42:38 -04:00
|
|
|
|
|
|
|
Ui::EchoGraph *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ECHOGRAPH_H
|