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