1 Star 0 Fork 0

qinxude/rk3568ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
limitdebug.h 2.31 KB
一键复制 编辑 原始数据 按行查看 历史
qinxude 提交于 2024-09-03 09:38 . 3568ui base
#ifndef LIMITDEBUG_H
#define LIMITDEBUG_H
#include <QWidget>
#include <QRadioButton>
#include "datadictionary.h"
#include "potentiometerlimit.h"
#include "electroniccompasslimit.h"
namespace Ui {
class LimitDebug;
}
class LimitDebug : public QWidget
{
Q_OBJECT
public:
explicit LimitDebug(QWidget *parent = nullptr);
~LimitDebug();
protected:
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event);
private slots:
void DevParamDataChangeProcess(DevParamDataIndex_t index);
void MonitorRtDataChangeProcess(MonitorRtDataIndex_t index);
void currentChanged(int Index);
void on_QuiteButton_clicked();
void on_WeightLL_returnPressed();
void on_WeightLLSig_returnPressed();
void on_WeightUL_returnPressed();
void on_WeightULSig_returnPressed();
void on_ScopeLL_returnPressed();
void on_ScopeLLSig_returnPressed();
void on_ScopeUL_returnPressed();
void on_ScopeULSig_returnPressed();
void on_HeightLL_returnPressed();
void on_HeightLLSig_returnPressed();
void on_HeightUL_returnPressed();
void on_HeightULSig_returnPressed();
void on_ScopeWraningV_returnPressed();
void on_ScopeAlarmV_returnPressed();
void on_ScopeAlarmEnable_clicked();
void on_ScopeAlarmUnable_clicked();
void on_HeightWraningV_returnPressed();
void on_HeightAlarmV_returnPressed();
void on_HeightAlarmEnable_clicked();
void on_HeightAlarmUnable_clicked();
void on_ArmZero_clicked();
void on_LandZero_clicked();
void on_ScopeSensorReset_clicked();
void on_HightSensorReset_clicked();
private:
void Display();
void SetAllAlias();
void AlarmEnableDisplay();
template<class T>
void SetDevParamData(DevParamDataIndex_t Index,T Data);
void SetButtonSta(bool Sta, QRadioButton *EnableButton, QRadioButton *UnableBooton, bool UpdateFlg = true);
void SetQRadioButtonStyleSheet(QRadioButton *button,bool s);
void SetQRadioButtonStyleSheet();
void SetSensorType(int Type);
private:
Ui::LimitDebug *ui;
DataDictionary *m_DataDictionary;
// PotentiometerLimit *m_PotentiometerLimit;
// ElectronicCompassLimit *m_ElectronicCompassLimit;
enum {
WIDGET_PAGE = 0,
SCOPE_PAGE,
HEIGHT_PAGE,
ROTATION_PAGE,
};
};
#endif // LIMITDEBUG_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/qinxude/rk3568ui.git
[email protected]:qinxude/rk3568ui.git
qinxude
rk3568ui
rk3568ui
master

搜索帮助