提交 d4ba4df2 编写于 作者: 之一Yo's avatar 之一Yo

调节消息框阴影样式

上级 8d7ae87b
......@@ -12,6 +12,12 @@
### Dialog
![](./_static/gallery/dialog.gif)
### Message Box
![](./_static/gallery/message_box.gif)
### Win10 Style Message Dialog
![](./_static/gallery/dialog_with_mask.gif)
### Flow Layout
![](./_static/gallery/flow_layout.gif)
......@@ -24,9 +30,6 @@
### Round Corners Menu
![](./_static/gallery/round_menu.gif)
### Message Dialog
![](./_static/gallery/dialog_with_mask.gif)
### State Tool Tip
![](./_static/gallery/state_tool_tip.gif)
......
......@@ -111,7 +111,7 @@ class MessageBox(MaskDialogBase, Ui_MessageBox):
super().__init__(parent=parent)
self._setUpUi(title, content, self.widget)
self.setShadowEffect(60, (0, 10), QColor(0, 0, 0, 80))
self.setShadowEffect(60, (0, 10), QColor(0, 0, 0, 50))
self.setMaskColor(QColor(0, 0, 0, 76))
self.widget.setFixedSize(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册