Blame view

app/gui/oven_control/realtimemain.cpp 731 Bytes
6a965b9f1   고영탁   엔지니어 모드 2차 구현
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
  #include "realtimemain.h"
  #include "ui_realtimemain.h"
  #include "realtimepartswindow.h"
  #include "realtimesensorwindow.h"
  
  realtimeMain::realtimeMain(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::realtimeMain)
  {
      ui->setupUi(this);
  }
  
  realtimeMain::~realtimeMain()
  {
      delete ui;
  }
  
  void realtimeMain::on_btnPartsReal_clicked()
  {
      realtimePartsWindow* w = new realtimePartsWindow(this);
      w->setWindowModality(Qt::WindowModal);
      w->showFullScreen();
  }
  
  void realtimeMain::on_btnTemperatureReal_clicked()
  {
      realtimeSensorWindow* w = new realtimeSensorWindow(this);
      w->setWindowModality(Qt::WindowModal);
      w->showFullScreen();
  }
  
  void realtimeMain::on_backButton_clicked()
  {
      deleteLater();
  }