基本完成网络设置模块,还有一些细节需要完善。
This commit is contained in:
26
src/network/getipdialog.h
Normal file
26
src/network/getipdialog.h
Normal 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
|
||||
Reference in New Issue
Block a user