Blame view

app/gui/oven_control/errorpopupdlg.cpp 545 Bytes
c50beef02   고영탁   에러 처리 루틴 및 에러 처리 ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  #include "errorpopupdlg.h"
  #include "ui_errorpopupdlg.h"
  
  errorPopupDlg::errorPopupDlg(QWidget *parent, const QString &MsgDesc) :
      QDialog(parent),
      ui(new Ui::errorPopupDlg)
  {
      ui->setupUi(this);
      this->setAttribute(Qt::WA_TranslucentBackground);
      this->setWindowFlags(Qt::FramelessWindowHint);
  
      ui->centralwidget->setWindowFlags(Qt::FramelessWindowHint);
      ui->ctrlWarnDescription->setText(MsgDesc);
  }
  
  errorPopupDlg::~errorPopupDlg()
  {
      delete ui;
  }
  
  void errorPopupDlg::on_ctrlOkBtn_released()
  {
      deleteLater();
  }