2013-11-11 12:02:37 -05:00
|
|
|
#ifndef TXTUNE_H
|
|
|
|
#define TXTUNE_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TxTune;
|
|
|
|
}
|
|
|
|
|
|
|
|
class TxTune : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit TxTune(QWidget *parent = 0);
|
|
|
|
~TxTune();
|
|
|
|
|
2014-01-16 13:47:28 -05:00
|
|
|
public slots:
|
|
|
|
void accept();
|
|
|
|
void reject();
|
|
|
|
|
2013-11-11 12:02:37 -05:00
|
|
|
private slots:
|
|
|
|
void on_pwrSlider_valueChanged(int n);
|
|
|
|
void on_ampSlider_valueChanged(int n);
|
|
|
|
void on_phaSlider_valueChanged(int n);
|
2014-01-10 15:11:30 -05:00
|
|
|
void on_cbTxImage_toggled(bool b);
|
|
|
|
void on_pbTune_clicked();
|
2014-01-15 16:44:12 -05:00
|
|
|
void on_fineAmpSlider_valueChanged(int n);
|
|
|
|
void on_finePhaSlider_valueChanged(int n);
|
2014-01-10 15:11:30 -05:00
|
|
|
|
|
|
|
public:
|
2014-01-15 16:44:12 -05:00
|
|
|
void set_iqAmp(int n);
|
|
|
|
void set_iqPhase(int n);
|
2014-01-16 13:47:28 -05:00
|
|
|
void set_txPower(int n);
|
2013-11-11 12:02:37 -05:00
|
|
|
|
|
|
|
private:
|
2014-01-15 16:44:12 -05:00
|
|
|
qint32 m_iqAmp1;
|
|
|
|
qint32 m_iqAmp2;
|
|
|
|
qint32 m_iqPha1;
|
|
|
|
qint32 m_iqPha2;
|
2014-01-16 13:47:28 -05:00
|
|
|
qint32 m_saveAmp;
|
|
|
|
qint32 m_savePha;
|
|
|
|
qint32 m_saveTxPower;
|
|
|
|
|
2014-01-15 16:44:12 -05:00
|
|
|
Ui::TxTune *ui;
|
2013-11-11 12:02:37 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TXTUNE_H
|