新增遮罩层窗体

This commit is contained in:
feiyangqingyun
2019-10-20 10:04:24 +08:00
parent e33f7818b4
commit 4b9ae83b7f
9 changed files with 289 additions and 6 deletions

View File

@@ -248,7 +248,7 @@ void GifWidget::initForm()
connect(timer, SIGNAL(timeout()), this, SLOT(saveImage()));
this->setAttribute(Qt::WA_TranslucentBackground);
this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint | Qt::WindowStaysOnTopHint);
this->setWindowFlags(Qt::FramelessWindowHint);
this->installEventFilter(this);
QStringList qss;