diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2022-08-23 10:23:16 +0200 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2022-08-23 10:23:16 +0200 |
| commit | 2d1068e60bce7ae1fff11623454900e8cee956b1 (patch) | |
| tree | acebe276e30466ef0ab91bc3da5e379bec0d7dc5 /widgets/fastgraph.h | |
| parent | 43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff) | |
New upstream version 2.6.0~rc3+repackupstream/2.6.0_rc3+repack
Diffstat (limited to 'widgets/fastgraph.h')
| -rwxr-xr-x | widgets/fastgraph.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/widgets/fastgraph.h b/widgets/fastgraph.h index b5f7c0b8..1d34a077 100755 --- a/widgets/fastgraph.h +++ b/widgets/fastgraph.h @@ -1,52 +1,52 @@ -#ifndef FASTGRAPH_H_ -#define FASTGRAPH_H_ - -#include <QDialog> -#include <QScopedPointer> - -namespace Ui { - class FastGraph; -} - -class QSettings; -class QCloseEvent; -class QKeyEvent; - -class FastGraph : public QDialog -{ - Q_OBJECT - -public: - explicit FastGraph(QSettings *, QWidget *parent = 0); - ~FastGraph (); - - void plotSpec(bool diskData, int UTCdisk); - void saveSettings(); - void setTRPeriod(double p); - 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; - double m_TRperiod; - - QScopedPointer<Ui::FastGraph> ui; -}; - -extern float fast_green[703]; -extern int fast_jh; - -#endif // FASTGRAPH_H +#ifndef FASTGRAPH_H_
+#define FASTGRAPH_H_
+
+#include <QDialog>
+#include <QScopedPointer>
+
+namespace Ui {
+ class FastGraph;
+}
+
+class QSettings;
+class QCloseEvent;
+class QKeyEvent;
+
+class FastGraph : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit FastGraph(QSettings *, QWidget *parent = 0);
+ ~FastGraph ();
+
+ void plotSpec(bool diskData, int UTCdisk);
+ void saveSettings();
+ void setTRPeriod(double p);
+ 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;
+ double m_TRperiod;
+
+ QScopedPointer<Ui::FastGraph> ui;
+};
+
+extern float fast_green[703];
+extern int fast_jh;
+
+#endif // FASTGRAPH_H
|
