Blame view

app/gui/oven_control/yesnopopupdlg.cpp 706 Bytes
c12e09d9a   고영탁   교정 UI 및 팝업 추가
1
2
3
4
5
6
7
8
  #include "yesnopopupdlg.h"
  #include "ui_yesnopopupdlg.h"
  
  YesNoPopupDlg::YesNoPopupDlg(QWidget *parent, QString strDesc) :
      QDialog(parent),
      ui(new Ui::YesNoPopupDlg)
  {
      ui->setupUi(this);
c12e09d9a   고영탁   교정 UI 및 팝업 추가
9
      this->setAttribute( Qt::WA_DeleteOnClose);
937409186   고영탁   config enum 설정 진행...
10
11
12
13
      setWindowFlags(Qt::FramelessWindowHint);
      setAttribute(Qt::WA_NoSystemBackground);
      setAttribute(Qt::WA_TranslucentBackground);
      //setAttribute(Qt::WA_PaintOnScreen);
c12e09d9a   고영탁   교정 UI 및 팝업 추가
14
15
  
      ui->ctrLbDesc->setText(strDesc);
937409186   고영탁   config enum 설정 진행...
16
      //this->setAttribute( Qt::WA_DeleteOnClose);
c12e09d9a   고영탁   교정 UI 및 팝업 추가
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  }
  
  YesNoPopupDlg::~YesNoPopupDlg()
  {
      delete ui;
  }
  
  void YesNoPopupDlg::on_ctrBtnYes_clicked()
  {
      this->accept();
  
  }
  
  void YesNoPopupDlg::on_ctrBtnNo_clicked()
  {
      this->reject();
c12e09d9a   고영탁   교정 UI 및 팝업 추가
33
  }