2021-07-06 06:50:37 +00:00
|
|
|
#ifndef TRANSCEIVERADJUSTMENTS_H
|
|
|
|
#define TRANSCEIVERADJUSTMENTS_H
|
|
|
|
|
2021-11-06 10:42:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
#include <QtGlobal>
|
2021-11-05 18:52:20 +00:00
|
|
|
|
2021-07-06 06:50:37 +00:00
|
|
|
#include <QWidget>
|
2021-11-05 17:09:31 +00:00
|
|
|
#include "rigidentities.h"
|
|
|
|
|
2021-07-06 06:50:37 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class transceiverAdjustments;
|
|
|
|
}
|
|
|
|
|
|
|
|
class transceiverAdjustments : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit transceiverAdjustments(QWidget *parent = 0);
|
|
|
|
~transceiverAdjustments();
|
|
|
|
|
2021-11-05 17:09:31 +00:00
|
|
|
signals:
|
|
|
|
void setIFShift(unsigned char level);
|
|
|
|
void setTPBFInner(unsigned char level);
|
|
|
|
void setTPBFOuter(unsigned char level);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void setRig(rigCapabilities rig);
|
|
|
|
void updateIFShift(unsigned char level);
|
|
|
|
void updateTPBFInner(unsigned char level);
|
|
|
|
void updateTPBFOuter(unsigned char level);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
void on_IFShiftSlider_valueChanged(int value);
|
|
|
|
|
|
|
|
void on_TPBFInnerSlider_valueChanged(int value);
|
|
|
|
|
|
|
|
void on_TPBFOuterSlider_valueChanged(int value);
|
|
|
|
|
2021-07-06 06:50:37 +00:00
|
|
|
private:
|
|
|
|
Ui::transceiverAdjustments *ui;
|
2021-11-05 17:09:31 +00:00
|
|
|
rigCapabilities rigCaps;
|
|
|
|
bool haveRigCaps = false;
|
2021-11-05 18:52:20 +00:00
|
|
|
int previousIFShift = 128;
|
2021-07-06 06:50:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TRANSCEIVERADJUSTMENTS_H
|