6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
1
2
3
|
#include "servicehistorymain.h"
#include "ui_servicehistorymain.h"
#include "historylistwindow.h"
|
14a73498f
김태훈
소스 코드 정리
|
4
|
ServiceHistoryMain::ServiceHistoryMain(QWidget *parent) :
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
5
|
QMainWindow(parent),
|
14a73498f
김태훈
소스 코드 정리
|
6
|
ui(new Ui::ServiceHistoryMain)
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
7
8
|
{
ui->setupUi(this);
|
eea7d3d59
김태훈
Segmentation Faul...
|
9
10
11
12
13
|
ui->clockContainer->setParent(ui->upperStack);
setAttribute(Qt::WA_DeleteOnClose);
connect(ui->backButton, SIGNAL(released()), this, SLOT(close()));
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
14
|
}
|
14a73498f
김태훈
소스 코드 정리
|
15
|
ServiceHistoryMain::~ServiceHistoryMain()
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
16
17
18
|
{
delete ui;
}
|
14a73498f
김태훈
소스 코드 정리
|
19
|
void ServiceHistoryMain::on_btnUpperBunner_clicked()
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
20
|
{
|
14a73498f
김태훈
소스 코드 정리
|
21
|
HistoryListWindow *w = new HistoryListWindow(this);
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
22
23
24
25
|
w->setWindosDataSet(ERROR_HISTORY_UPPERBUNNER);
w->setWindowModality(Qt::WindowModal);
w->showFullScreen();
}
|
14a73498f
김태훈
소스 코드 정리
|
26
|
void ServiceHistoryMain::on_btnSteamBunner_clicked()
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
27
|
{
|
14a73498f
김태훈
소스 코드 정리
|
28
|
HistoryListWindow *w = new HistoryListWindow(this);
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
29
30
31
32
|
w->setWindosDataSet(ERROR_HISTORY_STEAMBUNNER);
w->setWindowModality(Qt::WindowModal);
w->showFullScreen();
}
|
14a73498f
김태훈
소스 코드 정리
|
33
|
void ServiceHistoryMain::on_btnLowerBunner_clicked()
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
34
|
{
|
14a73498f
김태훈
소스 코드 정리
|
35
|
HistoryListWindow *w = new HistoryListWindow(this);
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
36
37
38
39
|
w->setWindosDataSet(ERROR_HISTORY_LOWERBUNNER);
w->setWindowModality(Qt::WindowModal);
w->showFullScreen();
}
|
14a73498f
김태훈
소스 코드 정리
|
40
|
void ServiceHistoryMain::on_btnErrorTotal_clicked()
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
41
|
{
|
14a73498f
김태훈
소스 코드 정리
|
42
|
HistoryListWindow *w = new HistoryListWindow(this);
|
6a965b9f1
고영탁
엔지니어 모드 2차 구현
|
43
44
45
46
|
w->setWindosDataSet(ERROR_HISTORY_TOTAL);
w->setWindowModality(Qt::WindowModal);
w->showFullScreen();
}
|