Skip to content

Commit f02f193

Browse files
authored
Update cfst-win-GUI.py
1 parent 9633af1 commit f02f193

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

cfst-win-GUI.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def resource_path(relative_path):
3838
"MSP": "美国 (明尼阿波利斯)", "SLC": "美国 (盐湖城)", "TPA": "美国 (坦帕)",
3939
"NRT": "日本 (成田)", "HND": "日本 (羽田)", "KIX": "日本 (关西)", "FUK": "日本 (福冈)",
4040
"HKG": "中国 (香港)",
41+
"TPE": "中国 (台湾台北)", "KHH": "中国 (台湾高雄)",
4142
"LHR": "英国 (伦敦希思罗)", "LGW": "英国 (伦敦盖特威克)",
4243
"CDG": "法国 (巴黎戴高乐)", "ORY": "法国 (巴黎奥利)",
4344
"FRA": "德国 (法兰克福)", "MUC": "德国 (慕尼黑)",
@@ -95,8 +96,8 @@ class CFSTGui(QWidget):
9596

9697
def __init__(self):
9798
super().__init__()
98-
self.setWindowTitle("CFST GUI - 小琳解说 V2.0")
99-
self.setWindowIcon(QIcon(resource_path("xl.ico"))) # ★ 图标设置(标题栏 & 任务栏)
99+
self.setWindowTitle("CFST GUI - 小琳解说 V2.1")
100+
self.setWindowIcon(QIcon(resource_path("xl.ico")))
100101
self.resize(390, 600)
101102
self.setFont(QFont("Microsoft YaHei", 10))
102103
self._current_process = None
@@ -144,7 +145,7 @@ def _build_ui(self):
144145
self.spin_concurrency = QSpinBox()
145146
self.spin_concurrency.setRange(1, 200)
146147
self.spin_concurrency.setValue(50)
147-
self.spin_concurrency.setFixedWidth(60)
148+
self.spin_concurrency.setFixedWidth(70)
148149
row_controls.addWidget(lbl)
149150
row_controls.addWidget(self.spin_concurrency)
150151

@@ -157,7 +158,7 @@ def _build_ui(self):
157158
ports = ["443", "2053", "2083", "2087", "2096", "8443"]
158159
self.cmb_port.addItems(ports)
159160
self.cmb_port.setCurrentText("443")
160-
self.cmb_port.setFixedWidth(70) # 宽 70
161+
self.cmb_port.setFixedWidth(70)
161162
row_controls.addWidget(lblp)
162163
row_controls.addWidget(self.cmb_port)
163164

0 commit comments

Comments
 (0)