mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-06 03:12:21 +08:00
bigimage: 对应用信息下的截图预览优化(#I62F4X)
This commit is contained in:
parent
9007bdf3d3
commit
b91e0142f4
@ -7,7 +7,8 @@ big_image::big_image(DBlurEffectWidget *parent) :
|
|||||||
DBlurEffectWidget(parent),
|
DBlurEffectWidget(parent),
|
||||||
m_image(new QLabel)
|
m_image(new QLabel)
|
||||||
{
|
{
|
||||||
setWindowFlags(this->windowFlags() | Qt::WindowStaysOnTopHint); // 设置图片对话框总在最前
|
// setWindowFlags(this->windowFlags() | Qt::WindowStaysOnTopHint); // 设置图片对话框总在最前
|
||||||
|
setWindowModality(Qt::ApplicationModal); // 以上无效不如直接使用 模态化对话框
|
||||||
setRadius(0);
|
setRadius(0);
|
||||||
setMaskAlpha(60);
|
setMaskAlpha(60);
|
||||||
setMaskColor(QColor("#000000"));
|
setMaskColor(QColor("#000000"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user