mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-17 17:42:02 -05:00
c69bfee149
Fixed naming of fast recording files. Tidied some signal/slot plumbing in the fast plotter. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6806 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
47 lines
783 B
C++
47 lines
783 B
C++
#ifndef FASTGRAPH_H
|
|
#define FASTGRAPH_H
|
|
|
|
#include <QDialog>
|
|
#include <QScopedPointer>
|
|
|
|
namespace Ui {
|
|
class FastGraph;
|
|
}
|
|
|
|
class QSettings;
|
|
|
|
class FastGraph : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
protected:
|
|
void closeEvent (QCloseEvent *) override;
|
|
|
|
public:
|
|
explicit FastGraph(QSettings *, QWidget *parent = 0);
|
|
~FastGraph();
|
|
|
|
void plotSpec();
|
|
void saveSettings();
|
|
|
|
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();
|
|
|
|
private:
|
|
QSettings * m_settings;
|
|
float m_ave;
|
|
|
|
QScopedPointer<Ui::FastGraph> ui;
|
|
};
|
|
|
|
extern float fast_green[703];
|
|
extern int fast_jh;
|
|
|
|
#endif // FASTGRAPH_H
|