Blame view

app/gui/oven_control/gastestwindow.cpp 530 Bytes
8c2952457   김태훈   응용 프로그램 추가
1
2
3
4
5
6
7
8
  #include "gastestwindow.h"
  #include "ui_gastestwindow.h"
  
  GasTestWindow::GasTestWindow(QWidget *parent, UdpHandler *udp) :
      QMainWindow(parent),
      ui(new Ui::GasTestWindow), udp(udp)
  {
      ui->setupUi(this);
6f96c947a   김태훈   GUI 0.1.4
9
8c2952457   김태훈   응용 프로그램 추가
10
      ui->clockContainer->setParent(ui->upperStack);
6f96c947a   김태훈   GUI 0.1.4
11
      setAttribute(Qt::WA_DeleteOnClose);
8c2952457   김태훈   응용 프로그램 추가
12
13
14
15
16
17
18
19
20
21
22
23
      connect(udp, SIGNAL(changed()), this, SLOT(onDataChanged()));
  }
  
  GasTestWindow::~GasTestWindow()
  {
      delete ui;
  }
  
  void GasTestWindow::onDataChanged()
  {
  
  }
6f96c947a   김태훈   GUI 0.1.4
24
25
26
27
28
  
  void GasTestWindow::on_backButton_clicked()
  {
      close();
  }