Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
k54kdk
PyQt Fluent Widgets
提交
b25ecf90
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看板
提交
b25ecf90
编写于
6月 17, 2023
作者:
之一Yo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复单选按钮禁用时的样式问题 (#276)
上级
fd1b2443
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
59878 addition
and
59857 deletion
+59878
-59857
qfluentwidgets/_rc/qss/dark/button.qss
qfluentwidgets/_rc/qss/dark/button.qss
+10
-1
qfluentwidgets/_rc/qss/light/button.qss
qfluentwidgets/_rc/qss/light/button.qss
+10
-1
qfluentwidgets/_rc/resource.py
qfluentwidgets/_rc/resource.py
+59856
-59853
qfluentwidgets/components/widgets/scroll_bar.py
qfluentwidgets/components/widgets/scroll_bar.py
+2
-2
未找到文件。
qfluentwidgets/_rc/qss/dark/button.qss
浏览文件 @
b25ecf90
...
...
@@ -200,7 +200,7 @@ RadioButton::indicator:checked:pressed {
}
RadioButton:disabled {
color: rgb
(150, 150, 150
);
color: rgb
a(255, 255, 255, 0.3628
);
}
RadioButton::indicator:disabled {
...
...
@@ -208,6 +208,15 @@ RadioButton::indicator:disabled {
background-color: transparent;
}
RadioButton::indicator:disabled:checked {
border: none;
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
stop:0 rgb(0, 0, 0),
stop:0.5 rgb(0, 0, 0),
stop:0.6 rgba(255, 255, 255, 0.158),
stop:1 rgba(255, 255, 255, 0.158));
}
TransparentToolButton {
background-color: transparent;
border: none;
...
...
qfluentwidgets/_rc/qss/light/button.qss
浏览文件 @
b25ecf90
...
...
@@ -205,7 +205,16 @@ RadioButton:disabled {
RadioButton::indicator:disabled {
border: 2px solid #bbbbbb;
background-color: rgba(0, 0, 0, 0);
background-color: transparent;
}
RadioButton::indicator:disabled:checked {
border: none;
background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
stop:0 rgb(255, 255, 255),
stop:0.5 rgb(255, 255, 255),
stop:0.6 rgba(0, 0, 0, 0.2169),
stop:1 rgba(0, 0, 0, 0.2169));
}
TransparentToolButton {
...
...
qfluentwidgets/_rc/resource.py
浏览文件 @
b25ecf90
此差异已折叠。
点击以展开。
qfluentwidgets/components/widgets/scroll_bar.py
浏览文件 @
b25ecf90
...
...
@@ -303,7 +303,7 @@ class ScrollBar(QWidget):
else
:
value
=
e
.
pos
().
x
()
-
self
.
_padding
self
.
setValue
(
int
(
value
/
self
.
_slideLength
(
)
*
self
.
maximum
()))
self
.
setValue
(
int
(
value
/
max
(
self
.
_slideLength
(),
1
)
*
self
.
maximum
()))
self
.
sliderPressed
.
emit
()
def
mouseReleaseEvent
(
self
,
e
):
...
...
@@ -318,7 +318,7 @@ class ScrollBar(QWidget):
dv
=
e
.
pos
().
x
()
-
self
.
_pressedPos
.
x
()
# don't use `self.setValue()`, because it could be reimplemented
dv
=
int
(
dv
/
self
.
_slideLength
(
)
*
(
self
.
maximum
()
-
self
.
minimum
()))
dv
=
int
(
dv
/
max
(
self
.
_slideLength
(),
1
)
*
(
self
.
maximum
()
-
self
.
minimum
()))
ScrollBar
.
setValue
(
self
,
self
.
value
()
+
dv
)
self
.
_pressedPos
=
e
.
pos
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录