-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwidget.h
55 lines (39 loc) · 922 Bytes
/
mainwidget.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
#ifndef MAINWIDGET_H
#define MAINWIDGET_H
#include <QtWidgets/QWidget>
#include <QStandardItemModel>
#include <QButtonGroup>
#include "user.h"
#include "score.h"
#include "exam_paper.h"
namespace Ui {
class MainWidget;
}
class MainWidget : public QWidget
{
Q_OBJECT
exam_paper *paper;
int index;
QButtonGroup *btn_choice;
QStandardItemModel *model;
int *ans;
bool is_exam;
public:
explicit MainWidget(QWidget *parent = 0);
~MainWidget();
private slots:
//void on_pushButton_clicked();
//void on_pushButton_2_clicked();
void on_Quit_clicked();
void on_historgrade_clicked();
void on_onlineexam_clicked();
void on_pwdchange_clicked();
void on_confirm_clicked();
void on_pushButton_clicked();
void on_pre_clicked();
void on_next_clicked();
void on_handon_clicked();
private:
Ui::MainWidget *ui;
};
#endif // MAINWIDGET_H