49 lines
1.0 KiB
C++
49 lines
1.0 KiB
C++
#ifndef OTHERINFO_H
|
|
#define OTHERINFO_H
|
|
|
|
#include <QWidget>
|
|
#include "ParaSettingUI.h"
|
|
#include <QLabel>
|
|
#include <QLineEdit>
|
|
|
|
namespace Ui {
|
|
class OtherInfo;
|
|
}
|
|
|
|
class OtherInfo : public QWidget,public ParaSettingUI
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit OtherInfo(QWidget *parent = 0);
|
|
~OtherInfo();
|
|
void bindSysPara(SysPara *sysPara);
|
|
void updateSysParaToUI();
|
|
void applyUIPara();
|
|
void updateSysStatusToUI();
|
|
void phaseDetectResultRecord();
|
|
void OtherInfoLog();
|
|
|
|
private slots:
|
|
void on_pushButtonApply_pressed();
|
|
void OtherupdateSysParaToUI();
|
|
void on_pushButtonLockPhase_pressed();
|
|
|
|
void on_spinBoxHighLowRatio_valueChanged(int arg1);
|
|
|
|
void on_spinBoxLockedPhase_valueChanged(int arg1);
|
|
|
|
void on_spinBoxBlickLightPeriod_editingFinished();
|
|
void onAuthChanged(int auth);
|
|
|
|
private:
|
|
Ui::OtherInfo *ui;
|
|
void updateLockPhaseWidgets();
|
|
unsigned char lastPhaseChargeReulse[8];
|
|
bool lockPhaseFlag;
|
|
int lockedPhase;
|
|
|
|
};
|
|
|
|
#endif // OTHERINFO_H
|