mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-05 21:25:59 +08:00
修复了主界面点链接后鼠标移到窗口操作区域后窗口位移的问题
This commit is contained in:
parent
3bd76b865d
commit
ee876856c2
@ -29,6 +29,10 @@ void SpkUi::SpkPageHome::SetupUi()
|
|||||||
|
|
||||||
ui->lblNewAnnouncement->setVisible(false);
|
ui->lblNewAnnouncement->setVisible(false);
|
||||||
|
|
||||||
|
// Click event will propagate to the main window and cause the window to move when
|
||||||
|
// mouse enters the zoom & move detection area. Disable mouse event propagation.
|
||||||
|
ui->lblAuthor->setAttribute(Qt::WA_NoMousePropagation, true);
|
||||||
|
|
||||||
ui->widReloadCategory->setVisible(false);
|
ui->widReloadCategory->setVisible(false);
|
||||||
ui->widReloadCategory->setAttribute(Qt::WA_StyledBackground);
|
ui->widReloadCategory->setAttribute(Qt::WA_StyledBackground);
|
||||||
ui->lblCategoryErrIcon->setPixmap(QIcon::fromTheme("dialog-error").pixmap(QSize(32, 32)));
|
ui->lblCategoryErrIcon->setPixmap(QIcon::fromTheme("dialog-error").pixmap(QSize(32, 32)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user