#ifndef OTHERINFO_H #define OTHERINFO_H #include #include "ParaSettingUI.h" #include #include 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(); 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