Refactor system page in GUI Alpha.
This commit is contained in:
32
src/dialogs/IpSettingsDialog.h
Normal file
32
src/dialogs/IpSettingsDialog.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#ifndef IPSETTINGSDIALOG_H
|
||||
#define IPSETTINGSDIALOG_H
|
||||
|
||||
#include "dialogs/GUIFormBaseDialog.h"
|
||||
|
||||
class QLabel;
|
||||
class ImageSwitch;
|
||||
class ULineEdit;
|
||||
|
||||
class IpSettingsDialog : public GUIFormBaseDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
IpSettingsDialog(QWidget* aParent = nullptr, Qt::WindowFlags aFlag = Qt::WindowFlags());
|
||||
~IpSettingsDialog() override;
|
||||
|
||||
protected:
|
||||
bool updateReferenceData() override;
|
||||
|
||||
private:
|
||||
void init();
|
||||
|
||||
private:
|
||||
QLabel* mErrorText;
|
||||
ImageSwitch* mDhcpButton;
|
||||
ULineEdit* mIpAddress;
|
||||
ULineEdit* mSubnetMask;
|
||||
ULineEdit* mGateway;
|
||||
|
||||
};
|
||||
|
||||
#endif // IPSETTINGSDIALOG_H
|
||||
Reference in New Issue
Block a user