Files
VX5_KRO_GearPump/OtherInfo.h
T
2026-06-04 14:08:28 +08:00

57 lines
1.1 KiB
C++

#ifndef OTHERINFO_H
#define OTHERINFO_H
#include "SysPara.h"
#include <QWidget>
#include <QLabel>
#include <QLineEdit>
namespace Ui {
class OtherInfo;
}
class OtherInfo : public QWidget
{
Q_OBJECT
public:
explicit OtherInfo(QWidget *parent = 0);
~OtherInfo();
void updateSysParaToUI();
void applyUIPara();
void updateSysStatusToUI();
void phaseDetectResultRecord();
void OtherInfoLog();
void applyStyleSheet(); // 应用样式表
void init();
private slots:
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;
SysPara* sysPara = nullptr;
void updateLockPhaseWidgets();
unsigned char lastPhaseChargeReulse[8];
bool lockPhaseFlag;
int lockedPhase;
};
#endif // OTHERINFO_H