代码拉取完成,页面将自动刷新
#ifndef DEVICEINFO_H
#define DEVICEINFO_H
#include <QWidget>
#include <QRadioButton>
#include "datadictionary.h"
#include "passwordmodify.h"
namespace Ui {
class DeviceInfo;
}
class DeviceInfo : public QWidget
{
Q_OBJECT
public:
explicit DeviceInfo(QWidget *parent = nullptr);
~DeviceInfo();
typedef enum {
CAR_BUTTON_RED = 0,
CAR_BUTTON_WHITE,
CAR_BUTTON_GREEN,
}Color_t;
protected:
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event);
private slots:
void on_SerialPortList_currentIndexChanged(const QString &arg1);
void on_BaudRateList_currentIndexChanged(const QString &arg1);
void on_PasswordModify_clicked();
void DevParamDataChange(DevParamDataIndex_t);
void MisDataChange(MisDataIndex_t Index);
void on_CleanDebugSta_clicked();
void on_SaveConf_clicked();
void on_RecoveryConf_clicked();
void on_LockEnable_clicked();
void on_LockUnable_clicked();
private:
void Display();
void SetSerialPortListDis(QStringList &list);
void SetBaudRateListDis(QStringList &list);
void SetQRadioButtonStyleSheet(QRadioButton *button,Color_t C);
void SetQRadioButtonStyleSheet();
void ShowBBHardWareVer();
void ShowBBSoftWareVer();
void SetButtonSta(bool Sta, QRadioButton *EnableButton,QRadioButton *UnableBooton);
private:
Ui::DeviceInfo *ui;
DataDictionary *m_DataDictionary;
PasswordModify *m_PasswordModify;
QStringList m_SerialPortList;
QStringList m_BaudRateList;
bool m_SerialPortSetFlag;
bool m_BaudRateSetFlag;
};
#endif // DEVICEINFO_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。