652e9cd54
고영탁
Merge
|
1
2
|
#include "popupwindow.h"
#include "ui_popupwindow.h"
|
c50beef02
고영탁
에러 처리 루틴 및 에러 처리 ...
|
3
|
#include <QtDebug>
|
652e9cd54
고영탁
Merge
|
4
|
|
c50beef02
고영탁
에러 처리 루틴 및 에러 처리 ...
|
5
|
popupWindow::popupWindow(QWidget *parent,const QString &MsgDesc) :
|
652e9cd54
고영탁
Merge
|
6
7
8
9
10
11
12
13
14
|
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);
|
c50beef02
고영탁
에러 처리 루틴 및 에러 처리 ...
|
15
16
|
ui->ctrlWarnDescription->setText(MsgDesc);
connect(ui->ctrlOkBtn, SIGNAL(clicked(bool)), this, SLOT(deleteLater()));
|
652e9cd54
고영탁
Merge
|
17
18
19
20
21
22
|
}
popupWindow::~popupWindow()
{
delete ui;
}
|
c50beef02
고영탁
에러 처리 루틴 및 에러 처리 ...
|
23
24
25
26
27
|
void popupWindow::on_ctrlOkBtn_released()
{
qDebug() << "OK btn Released";
}
|