2021-02-11 05:22:38 +00:00
|
|
|
#ifndef CALIBRATIONWINDOW_H
|
|
|
|
#define CALIBRATIONWINDOW_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class calibrationWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class calibrationWindow : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit calibrationWindow(QWidget *parent = 0);
|
|
|
|
~calibrationWindow();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void handleSpectrumPeak(double peakFreq);
|
|
|
|
void handleCurrentFreq(double tunedFreq);
|
2021-02-11 08:33:25 +00:00
|
|
|
void handleRefAdjustCourse(unsigned char);
|
|
|
|
void handleRefAdjustFine(unsigned char);
|
2021-02-11 05:22:38 +00:00
|
|
|
|
|
|
|
signals:
|
|
|
|
void requestSpectrumPeak(double peakFreq);
|
|
|
|
void requestCurrentFreq(double tunedFreq);
|
2021-02-11 08:33:25 +00:00
|
|
|
void requestRefAdjustCourse();
|
|
|
|
void requestRefAdjustFine();
|
|
|
|
void setRefAdjustCourse(unsigned char);
|
|
|
|
void setRefAdjustFine(unsigned char);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_calReadRigCalBtn_clicked();
|
|
|
|
|
|
|
|
void on_calCourseSlider_valueChanged(int value);
|
|
|
|
|
|
|
|
void on_calFineSlider_valueChanged(int value);
|
2021-02-11 05:22:38 +00:00
|
|
|
|
2021-02-15 07:24:21 +00:00
|
|
|
void on_calCourseSpinbox_valueChanged(int arg1);
|
|
|
|
|
|
|
|
void on_calFineSpinbox_valueChanged(int arg1);
|
|
|
|
|
|
|
|
void on_calFineSpinbox_editingFinished();
|
|
|
|
|
|
|
|
void on_calCourseSpinbox_editingFinished();
|
|
|
|
|
2021-02-11 05:22:38 +00:00
|
|
|
private:
|
|
|
|
Ui::calibrationWindow *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CALIBRATIONWINDOW_H
|