Blame view

app/gui/oven_control/popupwindow.cpp 463 Bytes
652e9cd54   고영탁   Merge
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  #include "popupwindow.h"
  #include "ui_popupwindow.h"
  
  popupWindow::popupWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::popupWindow)
  {
      ui->setupUi(this);
      this->setAttribute(Qt::WA_TranslucentBackground);
      this->setWindowFlags(Qt::FramelessWindowHint);
  
      ui->centralwidget->setAttribute(Qt::WA_TranslucentBackground);
      ui->centralwidget->setWindowFlags(Qt::FramelessWindowHint);
  }
  
  popupWindow::~popupWindow()
  {
      delete ui;
  }