summaryrefslogtreecommitdiff
path: root/fastgraph.h
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /fastgraph.h
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'fastgraph.h')
-rw-r--r--fastgraph.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/fastgraph.h b/fastgraph.h
new file mode 100644
index 00000000..92a54b93
--- /dev/null
+++ b/fastgraph.h
@@ -0,0 +1,50 @@
+#ifndef FASTGRAPH_H
+#define FASTGRAPH_H
+
+#include <QDialog>
+#include <QScopedPointer>
+
+namespace Ui {
+ class FastGraph;
+}
+
+class QSettings;
+
+class FastGraph : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit FastGraph(QSettings *, QWidget *parent = 0);
+ ~FastGraph ();
+
+ void plotSpec(bool diskData, int UTCdisk);
+ void saveSettings();
+ void setTRperiod(int n);
+ void setMode(QString mode);
+
+signals:
+ void fastPick(int x0, int x1, int y);
+
+private slots:
+ void on_gainSlider_valueChanged(int value);
+ void on_zeroSlider_valueChanged(int value);
+ void on_greenZeroSlider_valueChanged(int value);
+ void on_pbAutoLevel_clicked();
+
+protected:
+ void closeEvent (QCloseEvent *) override;
+ void keyPressEvent( QKeyEvent *e ) override;
+
+private:
+ QSettings * m_settings;
+ float m_ave;
+ qint32 m_TRperiod;
+
+ QScopedPointer<Ui::FastGraph> ui;
+};
+
+extern float fast_green[703];
+extern int fast_jh;
+
+#endif // FASTGRAPH_H