forked from shervinkh/sgu-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
friendactivity.h
57 lines (45 loc) · 1.06 KB
/
friendactivity.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
#ifndef FRIENDACTIVITY_H
#define FRIENDACTIVITY_H
#include <QWidget>
#include "statusprocessor.h"
class StatusView;
class AccountManager;
class QLabel;
class QLineEdit;
class QPushButton;
class QProgressBar;
class QHBoxLayout;
class QVBoxLayout;
class QTimer;
class FriendActivity : public QWidget
{
Q_OBJECT
private:
AccountManager *am;
StatusView *sv;
QLabel *text;
QLabel *ovp;
QProgressBar *ovpb;
QLabel *pb;
QProgressBar *norpb;
QHBoxLayout *progress;
QTimer *timer;
QLabel *refrate;
QLineEdit *refresh;
QPushButton *setbut;
QPushButton *refnow;
QLabel *persec;
QLabel *stat;
QLabel *status;
QHBoxLayout *downBox;
QVBoxLayout *layou;
friend QDataStream & operator<<(QDataStream &ds, const FriendActivity &in);
friend QDataStream & operator>>(QDataStream &ds, FriendActivity &in);
public:
explicit FriendActivity(QWidget *parent = nullptr, AccountManager *am = nullptr);
public slots:
void updateStatus();
private slots:
void changeTime();
};
#endif // FRIENDACTIVITY_H