Commit 515dd6a2 authored by Zheng Yile's avatar Zheng Yile
Browse files

Modify status font

parent abdf08fa
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment