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,
|
2013-05-20 10:09:02 -04:00
|
|
|
int ndiskdata);
|
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();
|
2013-04-10 10:41:16 -04:00
|
|
|
int getFmin();
|
|
|
|
int getFmax();
|
2012-05-22 10:28:39 -04:00
|
|
|
float fSpan();
|
|
|
|
void saveSettings();
|
2013-04-03 12:44:31 -04:00
|
|
|
void setRxRange(int fMin, int fMax);
|
2013-04-05 12:48:10 -04:00
|
|
|
void setfMax(int n);
|
2012-05-22 10:28:39 -04:00
|
|
|
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;
|
2013-05-28 15:34:18 -04:00
|
|
|
bool m_lockTxFreq;
|
2012-05-22 10:28:39 -04:00
|
|
|
|
|
|
|
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);
|
2013-04-05 12:48:10 -04:00
|
|
|
void on_fMinSpinBox_valueChanged(int n);
|
|
|
|
void on_fMaxSpinBox_valueChanged(int n);
|
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;
|
2013-04-05 12:48:10 -04:00
|
|
|
qint32 m_fMin;
|
|
|
|
qint32 m_fMax;
|
2012-05-22 10:28:39 -04:00
|
|
|
|
|
|
|
Ui::WideGraph *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
extern int set570(double freq_MHz);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // WIDEGRAPH_H
|