This repository has been archived by the owner on Jun 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentranceguide.h
87 lines (80 loc) · 2.25 KB
/
entranceguide.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#ifndef ENTRANCEGUIDE_H
#define ENTRANCEGUIDE_H
#include <QUrl>
#include <QDesktopServices>
#include <QMainWindow>
#include <iostream>
#include <math.h>
#include <QMainWindow>
#include <QSqlDatabase>
#include <QSqlDriver>
#include <QSqlError>
#include <QSqlQuery>
#include <QDebug>
#include <QFile>
namespace Ui {
class EntranceGuide;
}
class EntranceGuide : public QMainWindow
{
Q_OBJECT
public:
explicit EntranceGuide(QWidget *parent = nullptr);
void updateStack();
void connectdb(const QString&);
void searchData(int, int);
void setState();
int* getBound(int, int);
int validate(int);
QString colorcode(int);
QString getMaxmark(int);
QString getMinmark(int);
QString padded(QString);
~EntranceGuide();
private slots:
void on_male_btn_clicked();
void on_female_btn_clicked();
void on_home_btn_clicked();
void on_guide_btn_clicked();
void on_links_btn_clicked();
void on_abroad_btn_clicked();
void on_about_btn_clicked();
void on_bio_btn_clicked();
void on_eco_btn_clicked();
void on_search_btn_clicked();
void on_search_btn_eco_clicked();
// links
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
void on_pushButton_4_clicked();
void on_pushButton_5_clicked();
void on_pushButton_6_clicked();
void on_pushButton_7_clicked();
void on_pushButton_8_clicked();
void on_pushButton_9_clicked();
void on_pushButton_10_clicked();
void on_pushButton_11_clicked();
void on_pushButton_12_clicked();
void on_pushButton_13_clicked();
void on_pushButton_14_clicked();
void on_pushButton_15_clicked();
void on_pushButton_16_clicked();
void on_pushButton_17_clicked();
void on_pushButton_18_clicked();
void on_pushButton_19_clicked();
void on_pushButton_20_clicked();
void on_pushButton_21_clicked();
void on_pushButton_22_clicked();
void on_pushButton_23_clicked();
void on_pushButton_24_clicked();
void on_pushButton_25_clicked();
void on_pushButton_26_clicked();
void on_pushButton_27_clicked();
void on_pushButton_28_clicked();
void on_pushButton_29_clicked();
// links end
private:
Ui::EntranceGuide *ui;
};
#endif // ENTRANCEGUIDE_H