Blame view

app/gui/oven_control/configwindow.cpp 566 Bytes
8c2952457   김태훈   응용 프로그램 추가
1
2
3
4
5
6
7
8
9
10
  #include "configwindow.h"
  #include "ui_configwindow.h"
  
  #include "functiontestwindow.h"
  
  ConfigWindow::ConfigWindow(QWidget *parent, UdpHandler *udp) :
      QMainWindow(parent),
      ui(new Ui::ConfigWindow), udp(udp)
  {
      ui->setupUi(this);
6f96c947a   김태훈   GUI 0.1.4
11
12
13
  
      ui->clockContainer->setParent(ui->upperStack);
      setAttribute(Qt::WA_DeleteOnClose);
8c2952457   김태훈   응용 프로그램 추가
14
15
16
17
18
19
20
21
22
23
24
25
26
  }
  
  ConfigWindow::~ConfigWindow()
  {
      delete ui;
  }
  
  void ConfigWindow::on_pushButton_clicked()
  {
      FunctionTestWindow *w = new FunctionTestWindow(this, udp);
      w->setAttribute((Qt::WA_DeleteOnClose));
      w->showFullScreen();
  }