Blame view

app/gui/oven_control/modelsettingwindow.cpp 809 Bytes
22f83e90f   김태훈   모델 설정 UI 추가
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
  #include "modelsettingwindow.h"
  #include "ui_modelsettingwindow.h"
  
  #include "electricmodelsettingwindow.h"
  #include "gasmodelsettingwindow.h"
  
  ModelSettingWindow::ModelSettingWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::ModelSettingWindow)
  {
      ui->setupUi(this);
  
      ui->clockContainer->setParent(ui->upperStack);
      setAttribute(Qt::WA_DeleteOnClose);
  }
  
  ModelSettingWindow::~ModelSettingWindow()
  {
      delete ui;
  }
  
  void ModelSettingWindow::on_electricButton_clicked()
  {
      ElectricModelSettingWindow *w = new ElectricModelSettingWindow(this);
      w->showFullScreen();
  }
  
  void ModelSettingWindow::on_gasButton_clicked()
  {
      GasModelSettingWindow *w = new GasModelSettingWindow(this);
      w->showFullScreen();
  }
  
  void ModelSettingWindow::on_backButton_clicked()
  {
      close();
  }