-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfriendswindow.h
61 lines (48 loc) · 1.06 KB
/
friendswindow.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
52
53
54
55
56
57
58
59
60
61
#ifndef _FRIENDSWINDOW_
#define _FRIENDSWINDOW_
#include "MANAGER\UserManager.h"
#include "MANAGER\SourceManager.h"
#include "posturewindow.h"
#include "globalDefs.h"
#include <QtWidgets\qscrollarea.h>
#include <QtWidgets\qmessagebox.h>
#define FRIENDPERPAGE 4
class FriendsWindow : public PostureWindow
{
Q_OBJECT
public:
FriendsWindow(QWidget*,QString);
~FriendsWindow();
protected:
void BuildBottomRight();
private:
QWidget *m_qwSingleFriend;
QWidget *m_qwFriends;
QLabel *m_qlFriendsTitle;
QLabel *m_qlNo;
QLabel *m_qlEmail;
QLabel *m_qlNotify;
QPushButton *m_qpbName;
QPushButton *m_qpbOperate;
QPushButton *m_qpbPrev;
QPushButton *m_qpbNext;
QPushButton *m_qpbReturn;
QString m_sUsername;
UserPro m_upUp;
QMessageBox *m_qmbMsg;
QHBoxLayout *layout;
int m_iPage;
int m_iPosToDelete;
void InitWidgets(int i);
void BuildSingle();
signals:
void toFriends(const QString&);
private slots:
void deleteFriend(QAbstractButton*);
void toProfile();
void toProfileB();
void prevPage();
void nextPage();
void message();
};
#endif//_FRIENDSWINDOW_