forked from shervinkh/sgu-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
suggestion.h
56 lines (44 loc) · 962 Bytes
/
suggestion.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
#ifndef SUGGESTION_H
#define SUGGESTION_H
#include <QWidget>
#include "suggestionview.h"
class AccountManager;
class QLabel;
class QLineEdit;
class QPushButton;
class QProgressBar;
class QHBoxLayout;
class QVBoxLayout;
class QTimer;
class Suggestion : public QWidget
{
Q_OBJECT
private:
AccountManager *am;
SuggestionView *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 Suggestion &in);
friend QDataStream & operator>>(QDataStream &ds, Suggestion &in);
public:
explicit Suggestion(QWidget *parent = 0, AccountManager *am = nullptr );
public slots:
void updateStatus();
private slots:
void changeTime();
};
#endif // SUGGESTION_H