玉兔远程控制
0.1.0-bate14
Toggle main menu visibility
载入中...
搜索中...
未找到
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::SetParameter
int SetParameter(CParameter *pParameter)
设置参数,并初始化界面
定义
ParameterWakeOnLanUI.cpp:75
CParameterWakeOnLanUI::Accept
int Accept()
接受参数
定义
ParameterWakeOnLanUI.cpp:164
CParameterWakeOnLan
The wake on lan parameters.
定义
ParameterWakeOnLan.h:15
CParameter
参数接口
定义
Parameter.h:220
Ui
定义
FrmFullScreenToolBar.h:14
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力