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();
|
|
|
|
|
2012-10-15 13:43:49 -04:00
|
|
|
void dataSink2(float s[], float red[], float df3, int ihsym,
|
|
|
|
int ndiskdata, uchar lstrong[]);
|
2012-10-19 15:26:07 -04:00
|
|
|
void setQSOfreq(int n);
|
2012-05-22 10:28:39 -04:00
|
|
|
int QSOfreq();
|
|
|
|
int nSpan();
|
|
|
|
int nStartFreq();
|
|
|
|
float fSpan();
|
|
|
|
void saveSettings();
|
|
|
|
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-11-23 11:05:50 -05:00
|
|
|
void setTxFreq(int n);
|
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);
|
|
|
|
|
|
|
|
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);
|
2013-03-06 11:37:28 -05:00
|
|
|
void on_spec2dComboBox_currentIndexChanged(const QString &arg1);
|
2012-10-10 20:51:16 -04:00
|
|
|
|
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-10-26 12:01:57 -04:00
|
|
|
qint32 m_ntr0;
|
2012-05-22 10:28:39 -04:00
|
|
|
|
|
|
|
Ui::WideGraph *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
extern int set570(double freq_MHz);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // WIDEGRAPH_H
|