mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-29 23:58:39 -05:00
947b429723
This change incorporates a reorganization of the GUI code with widgets, validators, models, and item delegates being moved to sub-directories. Relax the requirements of the ForeignKeyDelegate and related CandidateKeyFilter classes to allow them to work with constant model pointers for both referenced and referencing models.
42 lines
726 B
C++
42 lines
726 B
C++
#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
|