Blame view

app/gui/oven_control/engineermenuwindow.cpp 1.06 KB
652e9cd54   고영탁   Merge
1
2
  #include "engineermenuwindow.h"
  #include "ui_engineermenuwindow.h"
6a965b9f1   고영탁   엔지니어 모드 2차 구현
3
4
5
  #include "servicehistorymain.h"
  #include "operationtimemain.h"
  #include "realtimemain.h"
652e9cd54   고영탁   Merge
6
7
8
9
10
11
  
  engineermenuwindow::engineermenuwindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::engineermenuwindow)
  {
      ui->setupUi(this);
c50beef02   고영탁   에러 처리 루틴 및 에러 처리 ...
12
13
14
15
16
  
      //ui->clockContainer->setParent(ui->upperStack);
      //setAttribute(Qt::WA_DeleteOnClose);
  
      connect(ui->backButton, SIGNAL(released()), this, SLOT(deleteLater()));
652e9cd54   고영탁   Merge
17
18
19
20
21
22
  }
  
  engineermenuwindow::~engineermenuwindow()
  {
      delete ui;
  }
6a965b9f1   고영탁   엔지니어 모드 2차 구현
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  
  void engineermenuwindow::on_servicehistorybutton_clicked()
  {
      serviceHistoryMain *w = new serviceHistoryMain(this);
      w->setWindowModality(Qt::WindowModal);
      w->showFullScreen();
  }
  
  void engineermenuwindow::on_operationtimebutton_clicked()
  {
      operationTimeMain *w = new operationTimeMain(this);
      w->setWindowModality(Qt::WindowModal);
      w->showFullScreen();
  }
  
  void engineermenuwindow::on_realdatabutton_clicked()
  {
      realtimeMain* w = new realtimeMain(this);
      w->setWindowModality(Qt::WindowModal);
      w->showFullScreen();
  }