-
Notifications
You must be signed in to change notification settings - Fork 1k
/
nettestdetail.h
51 lines (37 loc) · 993 Bytes
/
nettestdetail.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef NETTESTDETAIL_H
#define NETTESTDETAIL_H
#include <qevent.h>
#include <QMainWindow>
#include <IAgoraRtcEngine.h>
using namespace agora::rtc;
namespace Ui {
class NetTestDetail;
}
class NetTestDetail : public QMainWindow
{
Q_OBJECT
public:
explicit NetTestDetail(QWidget *parent = 0);
~NetTestDetail();
protected slots:
void receiver_network_detail(int quality,const LastmileProbeResult& lr);
protected:
virtual void mousePressEvent(QMouseEvent *e);
virtual void mouseMoveEvent(QMouseEvent *e);
virtual void mouseReleaseEvent(QMouseEvent *e);
private slots:
void on_btn_back_clicked();
void on_btn_min_clicked();
void on_btn_close_clicked();
void on_btn_ok_clicked();
private:
const int lnGapWidth = 18;
const int lnGapHeight = 12;
const int lnTitleWidth = 718;
const int lnTitleHeight = 30;
QPoint m_mousePosition;
bool m_bMousePressed;
private:
Ui::NetTestDetail *ui;
};
#endif // NETTESTDETAIL_H