-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.cpp
66 lines (49 loc) · 1.2 KB
/
dashboard.cpp
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
#include "dashboard.h"
#include "ui_dashboard.h"
#include "seatselection.h"
Dashboard::Dashboard(const QString &loggedInUser, QWidget *parent)
: QDialog(parent)
, ui(new Ui::Dashboard)
, loggedInUsername(loggedInUser)
{
ui->setupUi(this);
}
Dashboard::~Dashboard()
{
delete ui;
}
void Dashboard::on_pushButton_2_clicked()
{
seatselect=new SeatSelection(loggedInUsername, 2,this);
seatselect->show();
}
void Dashboard::on_pushButton_clicked()
{
seatselect=new SeatSelection(loggedInUsername, 3,this);
seatselect->show();
}
void Dashboard::on_pushButton_3_clicked()
{
seatselect=new SeatSelection(loggedInUsername, 4,this);
seatselect->show();
}
void Dashboard::on_pushButton_4_clicked()
{
seatselect=new SeatSelection(loggedInUsername, 5,this);
seatselect->show();
}
void Dashboard::on_pushButton_5_clicked()
{
seatselect=new SeatSelection(loggedInUsername, 6,this);
seatselect->show();
}
void Dashboard::on_pushButton_6_clicked()
{
seatselect=new SeatSelection(loggedInUsername, 1,this);
seatselect->show();
}
void Dashboard::on_pushButton_7_clicked()
{
seatselect=new SeatSelection(loggedInUsername, 7,this);
seatselect->show();
}