-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfirmation.cpp
45 lines (36 loc) · 864 Bytes
/
confirmation.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
#include <confirmation.h>
#include <ui_confirmation.h>
Confirmation::Confirmation(QWidget *parent) :
QDialog(parent),
ui(new Ui::Confirmation)
{
ui->setupUi(this);
}
void Confirmation::createdAccount()
{
ui->successfulAdd->setText("Account has been successfully created");
}
void Confirmation::createdSemester()
{
ui->successfulAdd->setText("Semester has been successfully created");
}
void Confirmation::createdHoliday()
{
ui->successfulAdd->setText("Holiday has been successfully created");
}
void Confirmation::createdClass()
{
ui->successfulAdd->setText("Class has been successfully created");
}
void Confirmation::createdEvent()
{
ui->successfulAdd->setText("Event has been successfully created");
}
Confirmation::~Confirmation()
{
delete ui;
}
void Confirmation::on_continueButton_clicked()
{
this->hide();
}