2012-05-22 14:28:39 +00: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 17:43:49 +00:00
|
|
|
void dataSink2(float s[], float red[], float df3, int ihsym,
|
2013-05-20 14:09:02 +00:00
|
|
|
int ndiskdata);
|
2012-10-19 19:26:07 +00:00
|
|
|
void setQSOfreq(int n);
|
2012-05-22 14:28:39 +00:00
|
|
|
int QSOfreq();
|
|
|
|
int nSpan();
|
|
|
|
int nStartFreq();
|
2013-04-10 14:41:16 +00:00
|
|
|
int getFmin();
|
|
|
|
int getFmax();
|
2012-05-22 14:28:39 +00:00
|
|
|
float fSpan();
|
|
|
|
void saveSettings();
|
2013-04-03 16:44:31 +00:00
|
|
|
void setRxRange(int fMin, int fMax);
|
2013-04-05 16:48:10 +00:00
|
|
|
void setfMax(int n);
|
2012-05-22 14:28:39 +00:00
|
|
|
void setFcal(int n);
|
|
|
|
void setPalette(QString palette);
|
2012-09-24 23:36:38 +00:00
|
|
|
void setFsample(int n);
|
2012-09-26 00:48:49 +00:00
|
|
|
void setPeriod(int ntrperiod, int nsps);
|
2012-11-23 16:05:50 +00:00
|
|
|
void setTxFreq(int n);
|
2012-09-24 23:36:38 +00:00
|
|
|
double fGreen();
|
2012-05-22 14:28:39 +00: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 16:37:28 +00:00
|
|
|
void on_spec2dComboBox_currentIndexChanged(const QString &arg1);
|
2013-04-05 16:48:10 +00:00
|
|
|
void on_fMinSpinBox_valueChanged(int n);
|
|
|
|
void on_fMaxSpinBox_valueChanged(int n);
|
2012-10-11 00:51:16 +00:00
|
|
|
|
2012-05-22 14:28:39 +00:00
|
|
|
private:
|
|
|
|
qint32 m_waterfallAvg;
|
|
|
|
qint32 m_fCal;
|
|
|
|
qint32 m_fSample;
|
2012-09-24 19:11:31 +00:00
|
|
|
qint32 m_TRperiod;
|
2012-09-26 00:48:49 +00:00
|
|
|
qint32 m_nsps;
|
2012-10-26 16:01:57 +00:00
|
|
|
qint32 m_ntr0;
|
2013-04-05 16:48:10 +00:00
|
|
|
qint32 m_fMin;
|
|
|
|
qint32 m_fMax;
|
2012-05-22 14:28:39 +00:00
|
|
|
|
|
|
|
Ui::WideGraph *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
extern int set570(double freq_MHz);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // WIDEGRAPH_H
|