Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Plugins
WakeOnLan
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
10
namespace
Ui
{
11
class
CParameterWakeOnLanUI
;
12
}
13
19
class
CParameterWakeOnLanUI
:
public
QDialog
20
{
21
Q_OBJECT
22
23
public
:
24
explicit
CParameterWakeOnLanUI
(QWidget *parent =
nullptr
);
25
~CParameterWakeOnLanUI
();
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
48
private
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
57
private
:
58
Ui::CParameterWakeOnLanUI *ui;
59
CParameterWakeOnLan
* m_pWakeOnLan;
60
};
61
62
#endif
// PARAMETERWAKEONLANUI_H
CParameterWakeOnLanUI
The wake on lan parameters UI.
Definition
ParameterWakeOnLanUI.h:20
CParameterWakeOnLanUI::SetParameter
int SetParameter(CParameter *pParameter)
Set the parameters and initialize the user interface.
Definition
ParameterWakeOnLanUI.cpp:75
CParameterWakeOnLanUI::Accept
int Accept()
Accept parameters.
Definition
ParameterWakeOnLanUI.cpp:164
CParameterWakeOnLan
The wake on lan parameters.
Definition
ParameterWakeOnLan.h:15
CParameter
Parameter interface.
Definition
Parameter.h:169
Ui
Definition
FrmFullScreenToolBar.h:14
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力