Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
k54kdk
PyQt Fluent Widgets
提交
b43aff7c
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看板
提交
b43aff7c
编写于
4月 06, 2023
作者:
之一Yo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整编辑框的底部边框高度
上级
aa18fa8b
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
49869 addition
and
49860 deletion
+49869
-49860
qfluentwidgets/_rc/qss/dark/line_edit.qss
qfluentwidgets/_rc/qss/dark/line_edit.qss
+8
-4
qfluentwidgets/_rc/qss/dark/spin_box.qss
qfluentwidgets/_rc/qss/dark/spin_box.qss
+4
-4
qfluentwidgets/_rc/qss/light/line_edit.qss
qfluentwidgets/_rc/qss/light/line_edit.qss
+6
-2
qfluentwidgets/_rc/qss/light/spin_box.qss
qfluentwidgets/_rc/qss/light/spin_box.qss
+2
-2
qfluentwidgets/_rc/resource.py
qfluentwidgets/_rc/resource.py
+49843
-49842
qfluentwidgets/components/widgets/line_edit.py
qfluentwidgets/components/widgets/line_edit.py
+3
-3
qfluentwidgets/components/widgets/spin_box.py
qfluentwidgets/components/widgets/spin_box.py
+3
-3
未找到文件。
qfluentwidgets/_rc/qss/dark/line_edit.qss
浏览文件 @
b43aff7c
LineEdit, TextEdit, PlainTextEdit {
background-color: rgb(55, 55, 55);
border: 1px solid rgb
(58, 58, 5
8);
border-bottom: 1px solid rgb
(159, 159, 159
);
border-radius:
6
px;
border: 1px solid rgb
a(255, 255, 255, 0.0
8);
border-bottom: 1px solid rgb
a(255, 255, 255, 0.5442
);
border-radius:
5
px;
font: 14px "Segoe UI", "Microsoft YaHei";
padding: 0px 10px;
color: white;
...
...
@@ -23,7 +23,11 @@ LineEdit:!focus, TextEdit:!focus, PlainTextEdit:!focus {
border-bottom: 1px solid rgb(159, 159, 159);
}
LineEdit:focus, TextEdit:focus, PlainTextEdit:focus {
LineEdit:focus {
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
TextEdit:focus, PlainTextEdit:focus {
border-bottom: 1px solid --ThemeColorPrimary;
background-color: rgb(34, 34, 34);
}
...
...
qfluentwidgets/_rc/qss/dark/spin_box.qss
浏览文件 @
b43aff7c
...
...
@@ -4,9 +4,9 @@ DateEdit,
DateTimeEdit,
TimeEdit {
background-color: rgb(55, 55, 55);
border: 1px solid rgb
(58, 58, 5
8);
border-bottom: 1px solid rgb
(159, 159, 159
);
border-radius:
6
px;
border: 1px solid rgb
a(255, 255, 255, 0.0
8);
border-bottom: 1px solid rgb
a(255, 255, 255, 0.5442
);
border-radius:
5
px;
font: 14px "Segoe UI", "Microsoft YaHei";
padding: 0px 80px 0 10px;
color: white;
...
...
@@ -36,7 +36,7 @@ DoubleSpinBox:focus,
DateEdit:focus,
DateTimeEdit:focus,
TimeEdit:focus{
border-bottom: 1px solid
--ThemeColorPrimary
;
border-bottom: 1px solid
rgba(255, 255, 255, 0.08)
;
background-color: rgb(34, 34, 34);
}
...
...
qfluentwidgets/_rc/qss/light/line_edit.qss
浏览文件 @
b43aff7c
...
...
@@ -3,7 +3,7 @@ LineEdit, TextEdit, PlainTextEdit {
background-color: white;
border: 1px solid rgba(0, 0, 0, 13);
border-bottom: 1px solid rgba(0, 0, 0, 100);
border-radius:
6
px;
border-radius:
5
px;
font: 14px "Segoe UI", "Microsoft YaHei";
padding: 0px 10px;
selection-background-color: --ThemeColorLight1;
...
...
@@ -25,7 +25,11 @@ LineEdit:!focus, TextEdit:!focus, PlainTextEdit:!focus {
border-bottom: 1px solid rgba(0, 0, 0, 100);
}
LineEdit:focus, TextEdit:focus,
LineEdit:focus {
border-bottom: 1px solid rgba(0, 0, 0, 13);
}
TextEdit:focus,
PlainTextEdit:focus {
border-bottom: 1px solid --ThemeColorPrimary;
background-color: white;
...
...
qfluentwidgets/_rc/qss/light/spin_box.qss
浏览文件 @
b43aff7c
...
...
@@ -3,7 +3,7 @@ SpinBox, DoubleSpinBox, DateEdit, DateTimeEdit, TimeEdit {
background-color: white;
border: 1px solid rgba(0, 0, 0, 13);
border-bottom: 1px solid rgba(0, 0, 0, 100);
border-radius:
6
px;
border-radius:
5
px;
font: 14px "Segoe UI", "Microsoft YaHei";
padding: 0px 80px 0 10px;
selection-background-color: --ThemeColorLight1;
...
...
@@ -33,7 +33,7 @@ DoubleSpinBox:focus,
DateEdit:focus,
DateTimeEdit:focus,
TimeEdit:focus {
border-bottom: 1px solid
--ThemeColorPrimary
;
border-bottom: 1px solid
rgba(0, 0, 0, 13)
;
background-color: white;
}
...
...
qfluentwidgets/_rc/resource.py
浏览文件 @
b43aff7c
此差异已折叠。
点击以展开。
qfluentwidgets/components/widgets/line_edit.py
浏览文件 @
b43aff7c
...
...
@@ -100,11 +100,11 @@ class LineEdit(QLineEdit):
painter
.
setPen
(
Qt
.
NoPen
)
path
=
QPainterPath
()
w
,
h
=
self
.
width
()
-
2
,
self
.
height
()
path
.
addRoundedRect
(
QRectF
(
1
,
h
-
12
,
w
,
12
),
6
,
6
)
w
,
h
=
self
.
width
(),
self
.
height
()
path
.
addRoundedRect
(
QRectF
(
0
,
h
-
10
,
w
,
10
),
5
,
5
)
rectPath
=
QPainterPath
()
rectPath
.
addRect
(
1
,
h
-
12
,
w
,
9.5
)
rectPath
.
addRect
(
0
,
h
-
10
,
w
,
8
)
path
=
path
.
subtracted
(
rectPath
)
painter
.
fillPath
(
path
,
themeColor
())
...
...
qfluentwidgets/components/widgets/spin_box.py
浏览文件 @
b43aff7c
...
...
@@ -86,11 +86,11 @@ class Ui_SpinBox:
painter
.
setPen
(
Qt
.
NoPen
)
path
=
QPainterPath
()
w
,
h
=
self
.
width
()
-
2
,
self
.
height
()
path
.
addRoundedRect
(
QRectF
(
1
,
h
-
12
,
w
,
12
),
6
,
6
)
w
,
h
=
self
.
width
(),
self
.
height
()
path
.
addRoundedRect
(
QRectF
(
0
,
h
-
10
,
w
,
10
),
5
,
5
)
rectPath
=
QPainterPath
()
rectPath
.
addRect
(
1
,
h
-
12
,
w
,
9.5
)
rectPath
.
addRect
(
0
,
h
-
10
,
w
,
8
)
path
=
path
.
subtracted
(
rectPath
)
painter
.
fillPath
(
path
,
themeColor
())
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录