Files
VX5_KRO_GearPump/OtherInfo.h
T
2026-04-29 14:10:10 +08:00

56 lines
1.1 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();
void applyStyleSheet(); // 应用样式表
void init();
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);
void buttonClickedSlot();
signals:
void sendButtonClickedSignal(int index);
private:
Ui::OtherInfo *ui;
void updateLockPhaseWidgets();
unsigned char lastPhaseChargeReulse[8];
bool lockPhaseFlag;
int lockedPhase;
};
#endif // OTHERINFO_H