代码拉取完成,页面将自动刷新
#ifndef SMARTCARSETTING_H
#define SMARTCARSETTING_H
#include <QWidget>
#include <QRadioButton>
#include "datadictionary.h"
namespace Ui {
class SmartCarSetting;
}
class SmartCarSetting : public QWidget
{
Q_OBJECT
public:
explicit SmartCarSetting(QWidget *parent = nullptr);
~SmartCarSetting();
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_QuiteButton_clicked();
void DevParamDataChange(DevParamDataIndex_t Index);
void on_CtlEnable_clicked();
void on_CtlUnable_clicked();
void on_NormalMode_clicked();
void on_LowPMode_clicked();
void on_ForceMode_clicked();
void on_CamEl_clicked();
void on_CamUEl_clicked();
void on_LaserEl_clicked();
void on_LaserUEl_clicked();
void on_ConDir_clicked();
void on_Con24G_clicked();
void on_Con433m_clicked();
void on_ConBl_clicked();
void on_LaserEnable_clicked();
void on_LaserUnable_clicked();
void on_LaserManual_clicked();
void on_LaserAuto_clicked();
void on_CarId_returnPressed();
private:
void SetQRadioButtonStyleSheet(QRadioButton *button,Color_t C);
void SetQRadioButtonStyleSheet();
void LineEditInit();
void CBConModeShow(quint32 Mode);
void CBModeShow(quint32 Mode);
void CBPowerCtlShow(quint32 Ctl);
void LaserModeShow(quint32 Mode);
void LaserEnableShow(quint32 En);
void CBEnableShow(quint32 En);
private:
Ui::SmartCarSetting *ui;
DataDictionary *m_DataDictionary;
};
#endif // SMARTCARSETTING_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。