Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
k54kdk
PyQt Fluent Widgets
提交
5aa049ee
P
PyQt Fluent Widgets
项目概览
k54kdk
/
PyQt Fluent Widgets
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PyQt Fluent Widgets
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
5aa049ee
编写于
3月 03, 2023
作者:
之一Yo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整无边框对话框样式,添加创建提示条类方法
上级
882810b9
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
39265 addition
and
39260 deletion
+39265
-39260
examples/settings/setting_interface.py
examples/settings/setting_interface.py
+1
-3
qfluentwidgets/__init__.py
qfluentwidgets/__init__.py
+1
-1
qfluentwidgets/_rc/qss/dark/dialog.qss
qfluentwidgets/_rc/qss/dark/dialog.qss
+0
-2
qfluentwidgets/_rc/qss/light/dialog.qss
qfluentwidgets/_rc/qss/light/dialog.qss
+0
-2
qfluentwidgets/_rc/resource.py
qfluentwidgets/_rc/resource.py
+39249
-39251
qfluentwidgets/components/widgets/state_tool_tip.py
qfluentwidgets/components/widgets/state_tool_tip.py
+13
-0
setup.py
setup.py
+1
-1
未找到文件。
examples/settings/setting_interface.py
浏览文件 @
5aa049ee
...
@@ -257,13 +257,11 @@ class SettingInterface(ScrollArea):
...
@@ -257,13 +257,11 @@ class SettingInterface(ScrollArea):
def
__showRestartTooltip
(
self
):
def
__showRestartTooltip
(
self
):
""" show restart tooltip """
""" show restart tooltip """
w
=
ToastToolTip
(
ToastToolTip
.
warn
(
self
.
tr
(
'Configuration updated successfully'
),
self
.
tr
(
'Configuration updated successfully'
),
self
.
tr
(
'Configuration takes effect after restart'
),
self
.
tr
(
'Configuration takes effect after restart'
),
'info'
,
self
.
window
()
self
.
window
()
)
)
w
.
show
()
def
__onDeskLyricFontCardClicked
(
self
):
def
__onDeskLyricFontCardClicked
(
self
):
""" desktop lyric font button clicked slot """
""" desktop lyric font button clicked slot """
...
...
qfluentwidgets/__init__.py
浏览文件 @
5aa049ee
...
@@ -10,7 +10,7 @@ online at https://pyqt-fluent-widgets.readthedocs.io.
...
@@ -10,7 +10,7 @@ online at https://pyqt-fluent-widgets.readthedocs.io.
:license: MIT, see LICENSE for more details.
:license: MIT, see LICENSE for more details.
"""
"""
__version__
=
"0.2.
6
"
__version__
=
"0.2.
7
"
from
.components
import
*
from
.components
import
*
from
.common
import
*
from
.common
import
*
...
...
qfluentwidgets/_rc/qss/dark/dialog.qss
浏览文件 @
5aa049ee
...
@@ -8,8 +8,6 @@ QDialog {
...
@@ -8,8 +8,6 @@ QDialog {
border-left: none;
border-left: none;
border-right: none;
border-right: none;
border-bottom: none;
border-bottom: none;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
}
QLabel {
QLabel {
...
...
qfluentwidgets/_rc/qss/light/dialog.qss
浏览文件 @
5aa049ee
...
@@ -8,8 +8,6 @@ QDialog {
...
@@ -8,8 +8,6 @@ QDialog {
border-left: none;
border-left: none;
border-right: none;
border-right: none;
border-bottom: none;
border-bottom: none;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
}
QLabel {
QLabel {
...
...
qfluentwidgets/_rc/resource.py
浏览文件 @
5aa049ee
此差异已折叠。
点击以展开。
qfluentwidgets/components/widgets/state_tool_tip.py
浏览文件 @
5aa049ee
...
@@ -146,6 +146,9 @@ class StateToolTip(QWidget):
...
@@ -146,6 +146,9 @@ class StateToolTip(QWidget):
class
ToastToolTip
(
QWidget
):
class
ToastToolTip
(
QWidget
):
""" Toast tooltip """
""" Toast tooltip """
SUCCESS
=
"completed"
WARNING
=
"info"
def
__init__
(
self
,
title
:
str
,
content
:
str
,
icon
:
str
,
parent
=
None
):
def
__init__
(
self
,
title
:
str
,
content
:
str
,
icon
:
str
,
parent
=
None
):
"""
"""
Parameters
Parameters
...
@@ -253,3 +256,13 @@ class ToastToolTip(QWidget):
...
@@ -253,3 +256,13 @@ class ToastToolTip(QWidget):
self
.
slideAni
.
start
()
self
.
slideAni
.
start
()
super
().
showEvent
(
e
)
super
().
showEvent
(
e
)
self
.
closeTimer
.
start
()
self
.
closeTimer
.
start
()
@
classmethod
def
success
(
cls
,
title
:
str
,
content
:
str
,
parent
=
None
):
""" show a success toast """
cls
(
title
,
content
,
cls
.
SUCCESS
,
parent
).
show
()
@
classmethod
def
warn
(
cls
,
title
:
str
,
content
:
str
,
parent
=
None
):
""" show a warning toast """
cls
(
title
,
content
,
cls
.
WARNING
,
parent
).
show
()
\ No newline at end of file
setup.py
浏览文件 @
5aa049ee
...
@@ -6,7 +6,7 @@ with open('README.md', encoding='utf-8') as f:
...
@@ -6,7 +6,7 @@ with open('README.md', encoding='utf-8') as f:
setuptools
.
setup
(
setuptools
.
setup
(
name
=
"PyQt-Fluent-Widgets"
,
name
=
"PyQt-Fluent-Widgets"
,
version
=
"0.2.
6
"
,
version
=
"0.2.
7
"
,
keywords
=
"pyqt fluent widgets"
,
keywords
=
"pyqt fluent widgets"
,
author
=
"zhiyiYo"
,
author
=
"zhiyiYo"
,
author_email
=
"shokokawaii@outlook.com"
,
author_email
=
"shokokawaii@outlook.com"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录