3500/BoardSetting.h

41 lines
727 B
C
Raw Normal View History

2023-04-14 19:30:30 +08:00
#ifndef BOARDSETTING_H
#define BOARDSETTING_H
#include <QWidget>
#include "global.h"
#include "ftpclient.h"
2023-10-19 14:15:31 +08:00
#include "NetMgr.h"
2023-04-14 19:30:30 +08:00
namespace Ui {
class CBoardSetting;
}
class CBoardSetting : public QWidget
{
Q_OBJECT
public:
explicit CBoardSetting(QWidget *parent = nullptr);
~CBoardSetting();
private slots:
void on_Btn_Confirm_clicked();
2023-10-19 14:15:31 +08:00
void slotNetMgr(QString sAddr,const QVariant& msg);
void on_pushButton_Init_clicked();
2023-04-14 19:30:30 +08:00
private:
Ui::CBoardSetting *ui;
void initReadConfig();
2023-10-19 14:15:31 +08:00
void putJson();
2023-04-14 19:30:30 +08:00
QJsonArray m_arrayValue;
2023-10-19 14:15:31 +08:00
QJsonArray m_arrayUnitBoards;
2023-04-14 19:30:30 +08:00
QJsonObject m_objValue;
2023-10-19 14:15:31 +08:00
2023-04-14 19:30:30 +08:00
void removeJsonObj(QJsonObject objValue);
2023-10-19 14:15:31 +08:00
void PushData();
2023-04-14 19:30:30 +08:00
};
#endif // BOARDSETTING_H