Skip to content

Commit

Permalink
#98 调整了部分功能名称显示,更新v1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
FuryMartin committed Apr 17, 2022
1 parent 0b42aa1 commit 2bdfa0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
4 changes: 2 additions & 2 deletions gui/uis/pages/ui_main_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def setupUi(self, MainPages):
self.func_1_lable = QLabel()
self.func_1_lable.setObjectName(u"func_1_lable")
self.func_1_lable.setStyleSheet(u"background: transparent;")
self.func_1_lable.setText("识别分类")
self.func_1_lable.setText("人脸分类")
self.func_1_lable.setStyleSheet(u"font-family:Microsoft Yahei;font-size: 20pt;color:white")
self.func_1_lable.setAlignment(Qt.AlignCenter)

Expand Down Expand Up @@ -112,7 +112,7 @@ def setupUi(self, MainPages):
self.func_3_lable = QLabel()
self.func_3_lable.setObjectName(u"func_3_lable")
self.func_3_lable.setStyleSheet(u"background: transparent;")
self.func_3_lable.setText("相似筛查")
self.func_3_lable.setText("智能筛重")
self.func_3_lable.setStyleSheet(u"font-family:Microsoft Yahei;font-size: 20pt;color:white")
self.func_3_lable.setAlignment(Qt.AlignCenter)

Expand Down
17 changes: 4 additions & 13 deletions gui/uis/windows/main_window/setup_main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,11 @@ def __init__(self):
{
"btn_icon": "icon_signal.svg",
"btn_id": "btn_page_duplicate",
"btn_text": "筛查结果",
"btn_tooltip": "筛查结果",
"btn_text": "筛重结果",
"btn_tooltip": "筛重结果",
"show_top": True,
"is_active": False
},
{
"btn_icon": "icon_settings.svg",
"btn_id": "btn_settings",
"btn_text": "打开设置",
"btn_tooltip": "打开设置",
"show_top": False,
"is_active": False
}

]

# ADD TITLE BAR MENUS
Expand Down Expand Up @@ -241,7 +232,7 @@ def setup_gui(self):
#################################################################
# 识别分类
self.func_btn_12 = PyPushButton(
text = '开始识别',
text = '开始分类',
radius = 8,
color = self.themes['app_color']['white'],
bg_color = self.themes['app_color']['dark_one'],
Expand Down Expand Up @@ -363,7 +354,7 @@ def call_create_search_worker():
###################################################################

self.func_btn_31 = PyPushButton(
text = '开始筛查',
text = '开始筛重',
radius = 8,
color = self.themes['app_color']['white'],
bg_color = self.themes['app_color']['dark_one'],
Expand Down
2 changes: 1 addition & 1 deletion resources/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"app_name": " Picf",
"version": "v1.5",
"version": "v1.6",
"copyright": "",
"year": 2021,
"theme_name": "default",
Expand Down

0 comments on commit 2bdfa0f

Please sign in to comment.