基本完成网络设置模块,还有一些细节需要完善。

This commit is contained in:
xueyan hu
2021-12-17 18:02:39 +08:00
parent faa69197f3
commit b6475e7ed4
21 changed files with 1979 additions and 421 deletions

26
src/network/getipdialog.h Normal file
View File

@@ -0,0 +1,26 @@
//
// Created by Krad on 2021/11/11.
//
#ifndef GUI_GETIPDIALOG_H
#define GUI_GETIPDIALOG_H
#include "GUIFormBaseDialog.h"
class QLineEdit;
class QLabel;
class GetIPDialog :public GUIFormBaseDialog {
Q_OBJECT
public:
explicit GetIPDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
~GetIPDialog();
QStringList getList()const;
void setList(const QStringList& list);
protected:
bool updateReferenceData();
private:
QLineEdit* _ip = nullptr;
QLineEdit* _mask = nullptr;
};
#endif //GUI_GetIPDialog_H