-
Notifications
You must be signed in to change notification settings - Fork 1
/
profileinfo.h
61 lines (44 loc) · 964 Bytes
/
profileinfo.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 PROFILEINFO_H
#define PROFILEINFO_H
#include <QDialog>
class AccountManager;
class QLabel;
class QHBoxLayout;
class QVBoxLayout;
class QPushButton;
class ProfileInfo : public QDialog
{
Q_OBJECT
private:
bool isVal;
QString SID;
AccountManager *am;
QLabel *ID;
QLabel *name;
QLabel *fname;
QHBoxLayout *f1;
QLabel *email;
QLabel *birth;
QLabel *country;
QHBoxLayout *f2;
QLabel *study;
QLabel *info;
QLabel *sub;
QLabel *ac;
QLabel *rat;
QHBoxLayout *f3;
QLabel *ac1;
QLabel *ac2;
QLabel *ac3;
QLabel *ac4;
QPushButton *substat;
QHBoxLayout *sublay;
QVBoxLayout *lay;
QString toStr(const QSet<int> &in) const;
public:
explicit ProfileInfo(QWidget *parent = nullptr, AccountManager *am = nullptr, const QString &id = nullptr);
bool isValid() const {return isVal;}
private slots:
void submitStat();
};
#endif // PROFILEINFO_H