no message
parent
632a74f2bb
commit
32dcc1ab62
7
Qss.cpp
7
Qss.cpp
|
@ -1685,13 +1685,16 @@ QSSProcessBar::QSSProcessBar(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::Process)
|
ui(new Ui::Process)
|
||||||
{
|
{
|
||||||
|
qDebug()<<"Qt::WindowCloseButtonHint: "<< ~int(Qt::WindowCloseButtonHint);
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->progressBar->setValue(1);
|
ui->progressBar->setValue(1);
|
||||||
|
|
||||||
setWindowFlags(Qt::FramelessWindowHint);
|
setWindowFlags(this->windowFlags()
|
||||||
this->setModal(true);
|
& (~Qt::WindowCloseButtonHint)
|
||||||
|
& (~Qt::WindowContextHelpButtonHint));
|
||||||
mParent = parent;
|
mParent = parent;
|
||||||
this->hide();
|
this->hide();
|
||||||
|
this->setModal(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
QSSProcessBar::~QSSProcessBar()
|
QSSProcessBar::~QSSProcessBar()
|
||||||
|
|
Loading…
Reference in New Issue