Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
k54kdk
PyQt Fluent Widgets
提交
18d76fd6
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看板
提交
18d76fd6
编写于
5月 07, 2023
作者:
之一Yo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复列表视图右击菜单边距过大的问题
上级
8134996f
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
34663 addition
and
34623 deletion
+34663
-34623
qfluentwidgets/__init__.py
qfluentwidgets/__init__.py
+1
-1
qfluentwidgets/_rc/qss/dark/list_view.qss
qfluentwidgets/_rc/qss/dark/list_view.qss
+32
-16
qfluentwidgets/_rc/qss/light/list_view.qss
qfluentwidgets/_rc/qss/light/list_view.qss
+33
-17
qfluentwidgets/_rc/resource.py
qfluentwidgets/_rc/resource.py
+34596
-34588
setup.py
setup.py
+1
-1
未找到文件。
qfluentwidgets/__init__.py
浏览文件 @
18d76fd6
...
...
@@ -12,7 +12,7 @@ Examples are available at https://github.com/zhiyiYo/PyQt-Fluent-Widgets/tree/ma
:license: GPLv3, see LICENSE for more details.
"""
__version__
=
"0.8.
5
"
__version__
=
"0.8.
6
"
from
.components
import
*
from
.common
import
*
...
...
qfluentwidgets/_rc/qss/dark/list_view.qss
浏览文件 @
18d76fd6
QListView {
ListView,
ListWidget {
background: transparent;
outline: none;
border: none;
...
...
@@ -9,7 +10,8 @@ QListView {
padding-right: 4px;
}
QListView::item {
ListView::item,
ListWidget::item {
background: transparent;
border: 0px;
padding-left: 11px;
...
...
@@ -17,7 +19,8 @@ QListView::item {
height: 35px;
}
QListView::indicator {
ListView::indicator,
ListWidget::indicator {
width: 18px;
height: 18px;
border-radius: 5px;
...
...
@@ -26,49 +29,62 @@ QListView::indicator {
margin-right: 4px;
}
QListView::indicator:hover {
ListView::indicator:hover,
ListWidget::indicator:hover {
border: 1px solid rgba(255, 255, 255, 0.5547);
background-color: rgba(255, 255, 255, 0.0419);
}
QListView::indicator:pressed {
ListView::indicator:pressed,
ListWidget::indicator:pressed {
border: 1px solid rgba(255, 255, 255, 0.1581);
background-color: rgba(255, 255, 255, 0.0698);
}
QListView::indicator:checked,
QListView::indicator:indeterminate {
ListView::indicator:checke,
ListWidget::indicator:checked,
ListView::indicator:indeterminate,
ListWidget::indicator:indeterminate {
border: 1px solid --ThemeColorPrimary;
background-color: --ThemeColorPrimary;
}
QListView::indicator:checked {
ListView::indicator:checked,
ListWidget::indicator:checked {
image: url(:/qfluentwidgets/images/check_box/Accept_black.svg);
}
QListView::indicator:indeterminate {
ListView::indicator:indeterminate,
ListWidget::indicator:indeterminate {
image: url(:/qfluentwidgets/images/check_box/PartialAccept_black.svg);
}
QListView::indicator:checked:hover,
QListView::indicator:indeterminate:hover {
ListView::indicator:checked:hove,
ListWidget::indicator:checked:hover,
ListView::indicator:indeterminate:hover,
ListWidget::indicator:indeterminate:hover {
border: 1px solid --ThemeColorLight1;
background-color: --ThemeColorLight1;
}
QListView::indicator:checked:pressed,
QListView::indicator:indeterminate:pressed {
ListView::indicator:checked:presse,
ListWidget::indicator:checked:pressed,
ListView::indicator:indeterminate:pressed,
ListWidget::indicator:indeterminate:pressed {
border: 1px solid --ThemeColorLight3;
background-color: --ThemeColorLight3;
}
QListView::indicator:disabled {
ListView::indicator:disabled,
ListWidget::indicator:disabled {
border: 1px solid rgba(255, 255, 255, 0.1581);
background-color: transparent
}
QListView::indicator:checked:disabled,
QListView::indicator:indeterminate:disabled {
ListView::indicator:checked:disable,
ListWidget::indicator:checked:disabled,
ListView::indicator:indeterminate:disabled,
ListWidget::indicator:indeterminate:disabled {
border: 1px solid rgb(82, 82, 82);
background-color: rgb(82, 82, 82);
}
\ No newline at end of file
qfluentwidgets/_rc/qss/light/list_view.qss
浏览文件 @
18d76fd6
QListView {
ListView,
ListWidget {
background: transparent;
outline: none;
border: none;
...
...
@@ -9,7 +10,8 @@ QListView {
padding-right: 4px;
}
QListView::item {
ListView::item,
ListWidget::item {
background: transparent;
border: 0px;
padding-left: 11px;
...
...
@@ -18,7 +20,8 @@ QListView::item {
}
QListView::indicator {
ListView::indicator,
ListWidget::indicator {
width: 18px;
height: 18px;
border-radius: 5px;
...
...
@@ -27,49 +30,62 @@ QListView::indicator {
margin-right: 4px;
}
QListView::indicator:hover {
ListView::indicator:hover,
ListWidget::indicator:hover {
border: 1px solid rgba(0, 0, 0, 0.56);
background-color: rgba(0, 0, 0, 0.05);
}
QListView::indicator:pressed {
ListView::indicator:pressed,
ListWidget::indicator:pressed {
border: 1px solid rgba(0, 0, 0, 0.27);
background-color: rgba(0, 0, 0, 0.12);
}
QListView::indicator:checked,
QListView::indicator:indeterminate {
ListView::indicator:checke,
ListWidget::indicator:checked,
ListView::indicator:indeterminate,
ListWidget::indicator:indeterminate {
border: 1px solid --ThemeColorPrimary;
background-color: --ThemeColorPrimary;
}
QListView::indicator:checked {
ListView::indicator:checked,
ListWidget::indicator:checked {
image: url(:/qfluentwidgets/images/check_box/Accept_white.svg);
}
QListView::indicator:indeterminate {
ListView::indicator:indeterminate,
ListWidget::indicator:indeterminate {
image: url(:/qfluentwidgets/images/check_box/PartialAccept_white.svg);
}
QListView::indicator:checked:hover,
QListView::indicator:indeterminate:hover {
ListView::indicator:checked:hove,
ListWidget::indicator:checked:hover,
ListView::indicator:indeterminate:hover,
ListWidget::indicator:indeterminate:hover {
border: 1px solid --ThemeColorLight1;
background-color: --ThemeColorLight1;
}
QListView::indicator:checked:pressed,
QListView::indicator:indeterminate:pressed {
ListView::indicator:checked:presse,
ListWidget::indicator:checked:pressed,
ListView::indicator:indeterminate:pressed,
ListWidget::indicator:indeterminate:pressed {
border: 1px solid --ThemeColorLight3;
background-color: --ThemeColorLight3;
}
QListView::indicator:disabled {
ListView::indicator:disabled,
ListWidget::indicator:disabled {
border: 1px solid rgba(0, 0, 0, 0.27);
background-color: transparent;
}
QListView::indicator:checked:disabled,
QListView::indicator:indeterminate:disabled {
ListView::indicator:checked:disable,
ListWidget::indicator:checked:disabled,
ListView::indicator:indeterminate:disabled,
ListWidget::indicator:indeterminate:disabled {
border: 1px solid rgb(199, 199, 199);
background-color: rgb(199, 199, 199);
}
}
\ No newline at end of file
qfluentwidgets/_rc/resource.py
浏览文件 @
18d76fd6
此差异已折叠。
点击以展开。
setup.py
浏览文件 @
18d76fd6
...
...
@@ -6,7 +6,7 @@ with open('README.md', encoding='utf-8') as f:
setuptools
.
setup
(
name
=
"PyQt-Fluent-Widgets"
,
version
=
"0.8.
5
"
,
version
=
"0.8.
6
"
,
keywords
=
"pyqt fluent widgets"
,
author
=
"zhiyiYo"
,
author_email
=
"shokokawaii@outlook.com"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录