2012-05-22 10:28:39 -04:00
|
|
|
#ifndef WIDEGRAPH_H
|
|
|
|
#define WIDEGRAPH_H
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class WideGraph;
|
|
|
|
}
|
|
|
|
|
|
|
|
class WideGraph : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit WideGraph(QWidget *parent = 0);
|
|
|
|
~WideGraph();
|
|
|
|
|
|
|
|
double m_dForceCenterFreq;
|
|
|
|
|
2012-09-24 19:36:38 -04:00
|
|
|
void dataSink2(float s[], int nkhz, int ihsym, int ndiskdata,
|
|
|
|
uchar lstrong[]);
|
2012-05-22 10:28:39 -04:00
|
|
|
int QSOfreq();
|
|
|
|
int nSpan();
|
|
|
|
int nStartFreq();
|
|
|
|
float fSpan();
|
|
|
|
void saveSettings();
|
|
|
|
void setDF(int n);
|
|
|
|
int DF();
|
|
|
|
int Tol();
|
|
|
|
void setTol(int n);
|
|
|
|
void setFcal(int n);
|
|
|
|
void setPalette(QString palette);
|
2012-09-24 19:36:38 -04:00
|
|
|
void setFsample(int n);
|
2012-09-25 20:48:49 -04:00
|
|
|
void setPeriod(int ntrperiod, int nsps);
|
2012-09-24 19:36:38 -04:00
|
|
|
double fGreen();
|
2012-05-22 10:28:39 -04:00
|
|
|
|
|
|
|
qint32 m_qsoFreq;
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void freezeDecode2(int n);
|
|
|
|
void f11f12(int n);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void wideFreezeDecode(int n);
|
2012-09-24 19:36:38 -04:00
|
|
|
void initIQplus();
|
2012-05-22 10:28:39 -04:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void keyPressEvent( QKeyEvent *e );
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_waterfallAvgSpinBox_valueChanged(int arg1);
|
|
|
|
void on_freqSpanSpinBox_valueChanged(int arg1);
|
|
|
|
void on_zeroSpinBox_valueChanged(int arg1);
|
|
|
|
void on_gainSpinBox_valueChanged(int arg1);
|
|
|
|
void on_autoZeroPushButton_clicked();
|
2012-09-24 19:36:38 -04:00
|
|
|
// void on_cbFcenter_stateChanged(int arg1);
|
|
|
|
void on_fCenterLineEdit_editingFinished();
|
2012-05-22 10:28:39 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
qint32 m_waterfallAvg;
|
|
|
|
qint32 m_fCal;
|
|
|
|
qint32 m_fSample;
|
2012-09-24 15:11:31 -04:00
|
|
|
qint32 m_TRperiod;
|
2012-09-25 20:48:49 -04:00
|
|
|
qint32 m_nsps;
|
2012-05-22 10:28:39 -04:00
|
|
|
|
|
|
|
Ui::WideGraph *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
extern int set570(double freq_MHz);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // WIDEGRAPH_H
|