Blame view

app/gui/oven_control/functiontestwindow.cpp 1.46 KB
8c2952457   김태훈   응용 프로그램 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #include "functiontestwindow.h"
  #include "ui_functiontestwindow.h"
  
  #include "burnertestwindow.h"
  #include "componenttestwindow.h"
  #include "valvetestwindow.h"
  #include "washtestwindow.h"
  #include "fantestwindow.h"
  #include "gastestwindow.h"
  
  FunctionTestWindow::FunctionTestWindow(QWidget *parent, UdpHandler *udp) :
      QMainWindow(parent),
      ui(new Ui::FunctionTestWindow), udp(udp)
  {
      ui->setupUi(this);
6f96c947a   김태훈   GUI 0.1.4
16
8c2952457   김태훈   응용 프로그램 추가
17
      ui->clockContainer->setParent(ui->upperStack);
6f96c947a   김태훈   GUI 0.1.4
18
      setAttribute(Qt::WA_DeleteOnClose);
8c2952457   김태훈   응용 프로그램 추가
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
      connect(ui->backButton, SIGNAL(clicked(bool)), this, SLOT(deleteLater()));
  }
  
  FunctionTestWindow::~FunctionTestWindow()
  {
      delete ui;
  }
  
  void FunctionTestWindow::on_burnerTestButton_clicked()
  {
      BurnerTestWindow *w = new BurnerTestWindow(this, udp);
      w->showFullScreen();
  }
  
  void FunctionTestWindow::on_componentTestButton_clicked()
  {
      ComponentTestWindow *w = new ComponentTestWindow(this, udp);
      w->showFullScreen();
  }
  
  void FunctionTestWindow::on_valveTestButton_clicked()
  {
      ValveTestWindow *w = new ValveTestWindow(this, udp);
      w->showFullScreen();
  }
  
  void FunctionTestWindow::on_washTestButton_clicked()
  {
      WashTestWindow *w = new WashTestWindow(this, udp);
      w->showFullScreen();
  }
  
  void FunctionTestWindow::on_fanTestButton_clicked()
  {
      FanTestWindow *w = new FanTestWindow(this, udp);
      w->showFullScreen();
  }
  
  void FunctionTestWindow::on_gasTestButton_clicked()
  {
4fc65fb81   김태훈   GUI V0.1.6(이 버전으로...
59
60
  //    GasTestWindow *w = new GasTestWindow(this, udp);
  //    w->showFullScreen();
8c2952457   김태훈   응용 프로그램 추가
61
  }