Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zheng Yile
codiaclient
Commits
515dd6a2
Commit
515dd6a2
authored
Jun 22, 2021
by
Zheng Yile
Browse files
Modify status font
parent
abdf08fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
MainFunctions.py
View file @
515dd6a2
...
...
@@ -20,6 +20,7 @@ def functionWindow_init(ui: functionWindow.Ui_functionWindow, nickname='UNDEFINE
else
:
status_bar_label
=
QLabel
(
'当前用户: {}(未验证)'
.
format
(
nickname
))
QMessageBox
.
information
(
None
,
'消息'
,
'当前账号功能受限,请尽快完成联系方式验证。'
,
QMessageBox
.
Ok
)
status_bar_label
.
setFont
(
Font
[
'status'
])
ui
.
statusbar
.
addWidget
(
status_bar_label
)
for
dic
in
pack_list
:
add_item_to_pack_list
(
ui
.
listWidget_packs
,
dic
)
...
...
codiaclientgui/utils.py
View file @
515dd6a2
...
...
@@ -5,6 +5,7 @@ from PyQt5.QtWidgets import QApplication
Font
=
{
'main'
:
QFont
(),
'status'
:
QFont
(),
}
Palette
=
{
...
...
@@ -15,6 +16,7 @@ Palette = {
Font
[
'main'
].
setFamily
(
"Microsoft YaHei"
)
Font
[
'main'
].
setPointSize
(
10
)
Font
[
'status'
].
setFamily
(
"SimHei"
)
greenBrush
=
QBrush
(
QColor
(
80
,
160
,
30
))
greenBrush
.
setStyle
(
Qt
.
SolidPattern
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment