Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ParameterWakeOnLanUI.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef PARAMETERWAKEONLANUI_H
4#define PARAMETERWAKEONLANUI_H
5
6#include <QDialog>
7#include "ParameterWakeOnLan.h"
8#include "ParameterUI.h"
9
10namespace Ui {
12}
13
19class CParameterWakeOnLanUI : public QDialog
20{
21 Q_OBJECT
22
23public:
24 explicit CParameterWakeOnLanUI(QWidget *parent = nullptr);
26
31 int SetParameter(CParameter* pParameter);
32 bool CheckValidity(bool validity);
44 int Accept();
45
46 static QString GetSubNet(const QString& szIP, const QString& szMask);
47
48private Q_SLOTS:
49 void on_pbShow_clicked();
50 void on_pbSave_clicked();
51 void on_cbNetworkInterface_currentIndexChanged(int index);
52 void on_pbOK_clicked();
53 void on_pbCancel_clicked();
54 void on_leIP_editingFinished();
55 void slotHostChanged(const QString& szHost);
56
57private:
58 Ui::CParameterWakeOnLanUI *ui;
59 CParameterWakeOnLan* m_pWakeOnLan;
60};
61
62#endif // PARAMETERWAKEONLANUI_H
The wake on lan parameters UI.
int SetParameter(CParameter *pParameter)
Set the parameters and initialize the user interface.
int Accept()
Accept parameters.
The wake on lan parameters.
Parameter interface.
Definition Parameter.h:169