Files
vx4-GuiLin-Gear/.svn/pristine/f6/f686b5bb3598b5a76925c2369124d3df4a674e00.svn-base

49 lines
1014 B
Plaintext

#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