Blame view

app/gui/oven_control/confirmpopup.cpp 448 Bytes
f588aa273   김태훈   부가 기능 로직 추가
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
  #include "confirmpopup.h"
  #include "ui_confirmpopup.h"
  
  ConfirmPopup::ConfirmPopup(QWidget *parent, QString text) :
      QWidget(parent),
      ui(new Ui::ConfirmPopup)
  {
      ui->setupUi(this);
      ui->text->setText(text);
  }
  
  ConfirmPopup::~ConfirmPopup()
  {
      delete ui;
  }
  
  void ConfirmPopup::on_okButton_clicked()
  {
      deleteLater();
      emit accepted();
  }
  
  void ConfirmPopup::on_cancelButton_clicked()
  {
      deleteLater();
      emit rejected();
  }