rmy 1 месяц назад
Родитель
Сommit
2e375a71d8
4 измененных файлов: 187 добавлений и 63 удалений
  1. Двоичные данные
      Front/SQL/DataBase.db
  2. 2
    0
      Front/main.py
  3. 121
    15
      Front/modules/ui_functions.py
  4. 64
    48
      Front/modules/ui_main.py

Двоичные данные
Front/SQL/DataBase.db Просмотреть файл


+ 2
- 0
Front/main.py Просмотреть файл

@@ -958,12 +958,14 @@ class MainWindow(QMainWindow):
958 958
                 # 处理选中的文件
959 959
                 self.file_path = file_path  # 将获取的路径保存到类的属性中
960 960
                 UIFunctions.execute_script_based_on_selection(self, file_path)
961
+                self.refresh_tree()
961 962
 
962 963
         # 文件计算
963 964
         if btnName == "compute":
964 965
             if self.file_path:  # 确保有文件路径后再进行处理
965 966
                 # 计算与展示的业务代码
966 967
                 UIFunctions.compute_show_process_excel_file(self, self.file_path)
968
+                self.refresh_tree()
967 969
                 # 1秒后自动跳转
968 970
                 QTimer.singleShot(1000, lambda: self.simulateButtonClick("btn_new"))
969 971
             else:

+ 121
- 15
Front/modules/ui_functions.py Просмотреть файл

@@ -69,8 +69,8 @@ class UIFunctions(MainWindow):
69 69
             self.showNormal()
70 70
             self.resize(self.width() + 1, self.height() + 1)
71 71
             self.ui.appMargins.setContentsMargins(10, 10, 10, 10)
72
-            self.ui.maximizeRestoreAppBtn.setToolTip("Maximize")
73
-            self.ui.maximizeRestoreAppBtn.setIcon(QIcon(u":/icons/images/icons/icon_maximize.png"))
72
+            # self.ui.maximizeRestoreAppBtn.setToolTip("Maximize")
73
+            # self.ui.maximizeRestoreAppBtn.setIcon(QIcon(u":/icons/images/icons/icon_maximize.png"))
74 74
             self.ui.frame_size_grip.show()
75 75
             self.left_grip.show()
76 76
             self.right_grip.show()
@@ -243,7 +243,7 @@ class UIFunctions(MainWindow):
243 243
             if event.type() == QEvent.MouseButtonDblClick:
244 244
                 QTimer.singleShot(250, lambda: UIFunctions.maximize_restore(self))
245 245
 
246
-        self.ui.titleRightInfo.mouseDoubleClickEvent = dobleClickMaximizeRestore
246
+        # self.ui.titleRightInfo.mouseDoubleClickEvent = dobleClickMaximizeRestore
247 247
 
248 248
         if Settings.ENABLE_CUSTOM_TITLE_BAR:
249 249
             # STANDARD TITLE BAR
@@ -291,8 +291,8 @@ class UIFunctions(MainWindow):
291 291
         # MINIMIZE
292 292
         self.ui.minimizeAppBtn.clicked.connect(lambda: self.showMinimized())
293 293
 
294
-        # MAXIMIZE/RESTORE
295
-        self.ui.maximizeRestoreAppBtn.clicked.connect(lambda: UIFunctions.maximize_restore(self))
294
+        # # MAXIMIZE/RESTORE
295
+        # self.ui.maximizeRestoreAppBtn.clicked.connect(lambda: UIFunctions.maximize_restore(self))
296 296
 
297 297
         # CLOSE APPLICATION
298 298
         self.ui.closeAppBtn.clicked.connect(lambda: self.close())
@@ -317,15 +317,24 @@ class UIFunctions(MainWindow):
317 317
         # db_path = os.path.join(resource_path(sql_folder), f"{self.ui.comboBox.currentText()}.db")
318 318
         db_path = os.path.join(resource_path('SQL'), f"{self.ui.comboBox.currentText()}.db")
319 319
         print(db_path)
320
-        file_path = file_path
320
+        utf_en = file_path.encode('utf-8')
321 321
         if current_text == "水准测段高差稳定计算":
322
-            GC.main_function(file_path, db_path)
322
+            try:
323
+                GC.main_function(file_path, db_path)
324
+            except:
325
+                UIFunctions.clear_db_data(self,current_text,utf_en, db_path)
323 326
         # 添加水准执行代码
324 327
         elif current_text == "控制网复测平面基准计算":
325
-            GS.main_function(file_path, db_path)
328
+            try:
329
+                GS.main_function(file_path, db_path)
330
+            except:
331
+                UIFunctions.clear_db_data(self,current_text,utf_en, db_path)
326 332
         # 添加控制网执行代码
327 333
         elif current_text == "平面控制网稳定性计算":
328
-            WD.main_function(file_path, db_path)
334
+            try:
335
+                WD.main_function(file_path, db_path)
336
+            except:
337
+                UIFunctions.clear_db_data(self,current_text,utf_en, db_path)
329 338
         # 添加平面控制网执行代码
330 339
 
331 340
     # 计算与展示文件的方法
@@ -336,14 +345,111 @@ class UIFunctions(MainWindow):
336 345
         excelname = os.path.basename(file_path)  # 文件名
337 346
         utf_en = excelname.encode('utf-8')  # 转换文件名为utf-8编码形式
338 347
         if current_text == "水准测段高差稳定计算":
339
-            GCcompute.main_function(file_path, db_path)
340
-            GCshow.main_function(self.ui, db_path, utf_en)
348
+            try:
349
+                GCcompute.main_function(file_path, db_path)
350
+                GCshow.main_function(self.ui, db_path, utf_en)
351
+            except:
352
+                #清除所有与之相关的数据库
353
+                UIFunctions.clear_db_data(self,current_text,utf_en, db_path)
341 354
         elif current_text == "控制网复测平面基准计算":
342
-            GScompute.main_function(excelname, db_path)
343
-            GSshow.main_function(self.ui, db_path, utf_en)
355
+            try:
356
+                GScompute.main_function(excelname, db_path)
357
+                GSshow.main_function(self.ui, db_path, utf_en)
358
+            except:
359
+                UIFunctions.clear_db_data(self,current_text,utf_en, db_path)
344 360
         elif current_text == "平面控制网稳定性计算":
345
-            WDcompute.main_function(excelname, db_path)
346
-            WDshow.main_function(self.ui, db_path, utf_en)
361
+            try:
362
+                WDcompute.main_function(excelname, db_path)
363
+                WDshow.main_function(self.ui, db_path, utf_en)
364
+            except:
365
+                UIFunctions.clear_db_data(self,current_text,utf_en, db_path)
366
+
367
+    #统一删除数据库内的错误信息
368
+    def clear_db_data(self,methodName,tableName_utf8, dbPath):
369
+        db1 = sqlite3.connect(dbPath)
370
+        cursor1 = db1.cursor()
371
+        # 通过行锁定对应的字段
372
+        if methodName == '水准测段高差稳定计算':
373
+            try:
374
+                # 把所有相关的表都删除
375
+                sqlstr1 = """DELETE FROM GC_Input_Point WHERE TableName = ? """
376
+                cursor1.execute(sqlstr1, (tableName_utf8,))
377
+            except:
378
+                pass
379
+            try:
380
+                sqlstr2 = """DELETE FROM GC_Input_Param WHERE TableName = ? """
381
+                cursor1.execute(sqlstr2, (tableName_utf8,))
382
+            except:
383
+                pass
384
+            try:
385
+                # 先把结果相关的点和参数删一下
386
+                sqlstr3 = """DELETE FROM GC_Output_Point  WHERE TableName = ?"""
387
+                cursor1.execute(sqlstr3, (tableName_utf8,))
388
+            except:
389
+                pass
390
+            # 提交事务
391
+            db1.commit()
392
+            # 关闭db
393
+            db1.close()
394
+        elif methodName == '控制网复测平面基准计算':
395
+            try:
396
+                # 把所有相关的表都删除
397
+                sqlstr1 = """DELETE FROM GS_Input_Point WHERE TableName = ? """
398
+                cursor1.execute(sqlstr1, (tableName_utf8,))
399
+            except:
400
+                pass
401
+            try:
402
+                sqlstr2 = """DELETE FROM GS_Input_Param WHERE TableName = ? """
403
+                cursor1.execute(sqlstr2, (tableName_utf8,))
404
+            except:
405
+                pass
406
+            try:
407
+                # 先把结果相关的点和参数删一下
408
+                sqlstr3 = """DELETE FROM GS_Result_Point  WHERE TableName = ?"""
409
+                cursor1.execute(sqlstr3, (tableName_utf8,))
410
+            except:
411
+                pass
412
+            try:
413
+                sqlstr4 = """DELETE FROM GS_Trans_Point  WHERE TableName = ?"""
414
+                cursor1.execute(sqlstr4, (tableName_utf8,))
415
+            except:
416
+                pass
417
+            try:
418
+                sqlstr5 = """DELETE FROM GS_Trans_Param  WHERE TableName = ?"""
419
+                cursor1.execute(sqlstr5, (tableName_utf8,))
420
+            except:
421
+                pass
422
+            # 提交事务
423
+            db1.commit()
424
+            # 关闭db
425
+            db1.close()
426
+        else:
427
+            try:
428
+                # 平面控制网稳定性计算
429
+                sqlstr1 = """DELETE FROM WD_Input_Point WHERE TableName = ?"""
430
+                cursor1.execute(sqlstr1, (tableName_utf8,))
431
+            except:
432
+                pass
433
+            try:
434
+                sqlstr2 = """DELETE FROM WD_Input_Param  WHERE TableName = ?"""
435
+                cursor1.execute(sqlstr2, (tableName_utf8,))
436
+            except:
437
+                pass
438
+            try:
439
+                # 先把结果相关的点和参数删一下
440
+                sqlstr3 = """DELETE FROM WD_Result_Point  WHERE TableName = ?"""
441
+                cursor1.execute(sqlstr3, (tableName_utf8,))
442
+            except:
443
+                pass
444
+            try:
445
+                sqlstr4 = """DELETE FROM WD_Result_Param  WHERE TableName = ?"""
446
+                cursor1.execute(sqlstr4, (tableName_utf8,))
447
+            except:
448
+                pass
449
+            # 提交事务
450
+            db1.commit()
451
+            # 关闭db
452
+            db1.close()
347 453
 
348 454
     # 文件导出的方法
349 455
     def export_database_to_excel(self, file_path,folder_name,file_name):

+ 64
- 48
Front/modules/ui_main.py Просмотреть файл

@@ -55,8 +55,13 @@ class Ui_MainWindow(object):
55 55
         self.main_window = MainWindow
56 56
         if not MainWindow.objectName():
57 57
             MainWindow.setObjectName(u"MainWindow")
58
-        MainWindow.resize(940, 620)
58
+        MainWindow.resize(1000, 680)
59 59
         MainWindow.setMinimumSize(QSize(940, 620))
60
+        MainWindow.setMaximumSize(QSize(1080, 720))
61
+        # # 移除最大化按钮
62
+        # MainWindow.setWindowFlags(MainWindow.windowFlags() & ~Qt.WindowMaximizeButtonHint)
63
+        # 固定窗口大小
64
+        # MainWindow.setFixedSize(1080, 720)
60 65
         MainWindow.setWindowIcon(QIcon("Front/icon.ico"))
61 66
         self.styleSheet = QWidget(MainWindow)
62 67
         self.styleSheet.setObjectName(u"styleSheet")
@@ -973,24 +978,24 @@ class Ui_MainWindow(object):
973 978
 
974 979
         self.horizontalLayout_2.addWidget(self.minimizeAppBtn)
975 980
 
976
-        self.maximizeRestoreAppBtn = QPushButton(self.rightButtons)
977
-        self.maximizeRestoreAppBtn.setObjectName(u"maximizeRestoreAppBtn")
978
-        self.maximizeRestoreAppBtn.setMinimumSize(QSize(28, 28))
979
-        self.maximizeRestoreAppBtn.setMaximumSize(QSize(28, 28))
980
-        font3 = QFont()
981
-        font3.setFamilies([u"Segoe UI"])
982
-        font3.setPointSize(10)
983
-        font3.setBold(False)
984
-        font3.setItalic(False)
985
-        font3.setStyleStrategy(QFont.PreferDefault)
986
-        self.maximizeRestoreAppBtn.setFont(font3)
987
-        self.maximizeRestoreAppBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
988
-        icon3 = QIcon()
989
-        icon3.addFile(u":/icons/images/icons/icon_maximize.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
990
-        self.maximizeRestoreAppBtn.setIcon(icon3)
991
-        self.maximizeRestoreAppBtn.setIconSize(QSize(20, 20))
992
-
993
-        self.horizontalLayout_2.addWidget(self.maximizeRestoreAppBtn)
981
+        # self.maximizeRestoreAppBtn = QPushButton(self.rightButtons)
982
+        # self.maximizeRestoreAppBtn.setObjectName(u"maximizeRestoreAppBtn")
983
+        # self.maximizeRestoreAppBtn.setMinimumSize(QSize(28, 28))
984
+        # self.maximizeRestoreAppBtn.setMaximumSize(QSize(28, 28))
985
+        # font3 = QFont()
986
+        # font3.setFamilies([u"Segoe UI"])
987
+        # font3.setPointSize(10)
988
+        # font3.setBold(False)
989
+        # font3.setItalic(False)
990
+        # font3.setStyleStrategy(QFont.PreferDefault)
991
+        # self.maximizeRestoreAppBtn.setFont(font3)
992
+        # self.maximizeRestoreAppBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
993
+        # icon3 = QIcon()
994
+        # icon3.addFile(u":/icons/images/icons/icon_maximize.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
995
+        # self.maximizeRestoreAppBtn.setIcon(icon3)
996
+        # self.maximizeRestoreAppBtn.setIconSize(QSize(20, 20))
997
+        #
998
+        # self.horizontalLayout_2.addWidget(self.maximizeRestoreAppBtn)
994 999
 
995 1000
         self.closeAppBtn = QPushButton(self.rightButtons)
996 1001
         self.closeAppBtn.setObjectName(u"closeAppBtn")
@@ -1087,12 +1092,12 @@ class Ui_MainWindow(object):
1087 1092
 
1088 1093
         self.description1 = QLabel(self.frame)
1089 1094
         self.description1.setObjectName(u"description1")
1090
-        self.description1.setGeometry(QRect(35, 145, 91, 36))
1095
+        self.description1.setGeometry(QRect(35, 140, 91, 36))
1091 1096
         self.description1.setAlignment(Qt.AlignmentFlag.AlignCenter)
1092 1097
         self.description1.setWordWrap(True)
1093 1098
         self.img_1 = QLabel(self.frame)
1094 1099
         self.img_1.setObjectName(u"img_1")
1095
-        self.img_1.setGeometry(QRect(45, 50, 71, 81))
1100
+        self.img_1.setGeometry(QRect(55, 55, 60, 72))
1096 1101
         self.img_1.setStyleSheet(u"background-image: url(:/icons/images/icons/excel.png);\n"
1097 1102
                                  "background-repeat:no-repeat;\n"
1098 1103
                                  "")
@@ -1130,12 +1135,12 @@ class Ui_MainWindow(object):
1130 1135
 
1131 1136
         self.description1_2 = QLabel(self.frame_2)
1132 1137
         self.description1_2.setObjectName(u"description1_2")
1133
-        self.description1_2.setGeometry(QRect(25, 140, 111, 61))
1138
+        self.description1_2.setGeometry(QRect(30, 138, 111, 61))
1134 1139
         self.description1_2.setAlignment(Qt.AlignmentFlag.AlignCenter)
1135 1140
         self.description1_2.setWordWrap(True)
1136 1141
         self.img_2 = QLabel(self.frame_2)
1137 1142
         self.img_2.setObjectName(u"img_2")
1138
-        self.img_2.setGeometry(QRect(45, 50, 81, 71))
1143
+        self.img_2.setGeometry(QRect(50, 55, 81, 71))
1139 1144
         self.img_2.setStyleSheet(u"background-image: url(:/icons/images/icons/view.png);\n"
1140 1145
                                  "background-repeat:no-repeat;")
1141 1146
 
@@ -1172,12 +1177,12 @@ class Ui_MainWindow(object):
1172 1177
 
1173 1178
         self.description1_3 = QLabel(self.frame_3)
1174 1179
         self.description1_3.setObjectName(u"description1_3")
1175
-        self.description1_3.setGeometry(QRect(20, 139, 121, 61))
1180
+        self.description1_3.setGeometry(QRect(30, 138, 121, 61))
1176 1181
         self.description1_3.setAlignment(Qt.AlignmentFlag.AlignCenter)
1177 1182
         self.description1_3.setWordWrap(True)
1178 1183
         self.img_3 = QLabel(self.frame_3)
1179 1184
         self.img_3.setObjectName(u"img_3")
1180
-        self.img_3.setGeometry(QRect(45, 50, 71, 81))
1185
+        self.img_3.setGeometry(QRect(50, 55, 71, 81))
1181 1186
         self.img_3.setStyleSheet(u"background-image: url(:/icons/images/icons/data.png);\n"
1182 1187
                                  "background-repeat:no-repeat;")
1183 1188
 
@@ -1214,12 +1219,12 @@ class Ui_MainWindow(object):
1214 1219
 
1215 1220
         self.description1_4 = QLabel(self.frame_4)
1216 1221
         self.description1_4.setObjectName(u"description1_4")
1217
-        self.description1_4.setGeometry(QRect(23, 138, 111, 61))
1222
+        self.description1_4.setGeometry(QRect(35, 138, 111, 61))
1218 1223
         self.description1_4.setAlignment(Qt.AlignmentFlag.AlignCenter)
1219 1224
         self.description1_4.setWordWrap(True)
1220 1225
         self.img_4 = QLabel(self.frame_4)
1221 1226
         self.img_4.setObjectName(u"img_4")
1222
-        self.img_4.setGeometry(QRect(40, 50, 71, 81))
1227
+        self.img_4.setGeometry(QRect(55, 55, 71, 81))
1223 1228
         self.img_4.setStyleSheet(u"background-image: url(:/icons/images/icons/save.png);\n"
1224 1229
                                  "background-repeat:no-repeat;")
1225 1230
 
@@ -1301,8 +1306,8 @@ class Ui_MainWindow(object):
1301 1306
         self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
1302 1307
         self.gridLayout = QGridLayout()
1303 1308
         self.gridLayout.setObjectName(u"gridLayout")
1304
-        self.gridLayout.setHorizontalSpacing(7)
1305
-        self.gridLayout.setVerticalSpacing(4)
1309
+        self.gridLayout.setHorizontalSpacing(20)
1310
+        self.gridLayout.setVerticalSpacing(10)
1306 1311
         self.gridLayout.setContentsMargins(-1, -1, -1, 0)
1307 1312
 
1308 1313
         self.label_notice_1 = QLabel(self.frame_content_wid_1)
@@ -1313,7 +1318,12 @@ class Ui_MainWindow(object):
1313 1318
         self.label_notice_2 = QLabel(self.frame_content_wid_1)
1314 1319
         self.label_notice_2.setObjectName(u"label")
1315 1320
         self.label_notice_2.setMaximumSize(QSize(16777215, 16777215))
1316
-        self.gridLayout.addWidget(self.label_notice_2, 0, 2, 1, 1)
1321
+        self.gridLayout.addWidget(self.label_notice_2, 0, 4, 1, 1)
1322
+
1323
+        self.label_0 = QLabel(self.frame_content_wid_1)
1324
+        self.label_0.setObjectName(u"label")
1325
+        self.label_0.setMaximumSize(QSize(16777215, 16777215))
1326
+        self.gridLayout.addWidget(self.label_0, 0, 3, 1, 1)
1317 1327
 
1318 1328
 
1319 1329
         self.label = QLabel(self.frame_content_wid_1)
@@ -1356,7 +1366,7 @@ class Ui_MainWindow(object):
1356 1366
         # 更新 comboBox 的初始内容
1357 1367
         self.updater.update_combo_box()
1358 1368
 
1359
-        self.gridLayout.addWidget(self.comboBox, 1, 1, 1, 1)
1369
+        self.gridLayout.addWidget(self.comboBox, 1, 1, 1, 2)
1360 1370
 
1361 1371
         self.lineEdit = CustomLineEdit(self.frame_content_wid_1)
1362 1372
         self.lineEdit.setObjectName(u"lineEdit")
@@ -1364,7 +1374,7 @@ class Ui_MainWindow(object):
1364 1374
         self.lineEdit.setMaximumSize(QSize(250, 34))
1365 1375
         self.lineEdit.setStyleSheet(u"background-color: rgb(33, 37, 43);")
1366 1376
 
1367
-        self.gridLayout.addWidget(self.lineEdit, 1, 2, 1, 1)
1377
+        self.gridLayout.addWidget(self.lineEdit, 1, 4, 1, 1)
1368 1378
 
1369 1379
         self.createFile = QPushButton(self.frame_content_wid_1)
1370 1380
         self.createFile.setObjectName(u"createFile")
@@ -1379,13 +1389,18 @@ class Ui_MainWindow(object):
1379 1389
         icon4.addFile(u":/icons/images/icons/cil-folder-open.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
1380 1390
         self.createFile.setIcon(icon4)
1381 1391
 
1382
-        self.gridLayout.addWidget(self.createFile, 2, 2, 1, 1)
1392
+        self.gridLayout.addWidget(self.createFile, 2, 4, 1, 1)
1383 1393
 
1384 1394
         self.label_4 = QLabel(self.frame_content_wid_1)
1385 1395
         self.label_4.setObjectName(u"label_4")
1386 1396
 
1387 1397
         self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
1388 1398
 
1399
+        # self.label_0 = QLabel(self.frame_content_wid_1)
1400
+        # self.label_0.setObjectName(u"label_0")
1401
+        #
1402
+        # self.gridLayout.addWidget(self.label_0, 2, 2, 1, 1)
1403
+
1389 1404
         self.comboBox_2 = QComboBox(self.frame_content_wid_1)
1390 1405
         self.comboBox_2.addItem("")
1391 1406
         self.comboBox_2.addItem("")
@@ -1401,7 +1416,7 @@ class Ui_MainWindow(object):
1401 1416
                                       "    min-width: 9em;   \n"
1402 1417
                                       "}")
1403 1418
 
1404
-        self.gridLayout.addWidget(self.comboBox_2, 2, 1, 1, 1)
1419
+        self.gridLayout.addWidget(self.comboBox_2, 2, 1, 1, 2)
1405 1420
 
1406 1421
         self.horizontalLayout_9.addLayout(self.gridLayout)
1407 1422
 
@@ -1456,10 +1471,10 @@ class Ui_MainWindow(object):
1456 1471
         self.verticalLayout_19 = QVBoxLayout()
1457 1472
         self.verticalLayout_19.setSpacing(0)
1458 1473
         self.verticalLayout_19.setObjectName(u"verticalLayout_19")
1459
-        self.label_6 = QLabel(self.row_3)
1460
-        self.label_6.setObjectName(u"label_6")
1461
-
1462
-        self.verticalLayout_19.addWidget(self.label_6)
1474
+        # self.label_6 = QLabel(self.row_3)
1475
+        # self.label_6.setObjectName(u"label_6")
1476
+        #
1477
+        # self.verticalLayout_19.addWidget(self.label_6)
1463 1478
 
1464 1479
         self.label_5 = QLabel(self.row_3)
1465 1480
         self.label_5.setObjectName(u"label_5")
@@ -1965,9 +1980,9 @@ class Ui_MainWindow(object):
1965 1980
         # endif // QT_CONFIG(tooltip)
1966 1981
         self.minimizeAppBtn.setText("")
1967 1982
         # if QT_CONFIG(tooltip)
1968
-        self.maximizeRestoreAppBtn.setToolTip(QCoreApplication.translate("MainWindow", u"Maximize", None))
1969
-        # endif // QT_CONFIG(tooltip)
1970
-        self.maximizeRestoreAppBtn.setText("")
1983
+        # self.maximizeRestoreAppBtn.setToolTip(QCoreApplication.translate("MainWindow", u"Maximize", None))
1984
+        # # endif // QT_CONFIG(tooltip)
1985
+        # self.maximizeRestoreAppBtn.setText("")
1971 1986
         # if QT_CONFIG(tooltip)
1972 1987
         self.closeAppBtn.setToolTip(QCoreApplication.translate("MainWindow", u"Close", None))
1973 1988
         # endif // QT_CONFIG(tooltip)
@@ -2021,6 +2036,7 @@ class Ui_MainWindow(object):
2021 2036
         self.createFile.setText(QCoreApplication.translate("MainWindow", u"\u65b0\u5efa", None))
2022 2037
         self.label_4.setText(
2023 2038
             QCoreApplication.translate("MainWindow", u"\u8ba1\u7b97\u65b9\u5f0f\uff1a", None))
2039
+        self.label_0.setText(" ")
2024 2040
 
2025 2041
         self.comboBox_2.setItemText(0, QCoreApplication.translate("MainWindow",
2026 2042
                                                                   u"\u63a7\u5236\u7f51\u590d\u6d4b\u5e73\u9762\u57fa\u51c6\u8ba1\u7b97",
@@ -2041,23 +2057,23 @@ class Ui_MainWindow(object):
2041 2057
                                                        "\u652f\u6301Excel\u5355\u4e2a\u6587\u4ef6\u4e0a\u4f20\uff0c\u9ed8\u8ba4\u8bc6\u522b\u7b2c\u4e00\u4e2asheet\u8868\u683c",
2042 2058
                                                        None))
2043 2059
         self.compute.setText(QCoreApplication.translate("MainWindow", u"\u8ba1\u7b97", None))
2044
-        self.label_6.setText(QCoreApplication.translate("MainWindow",
2045
-                                                        u"<html><head/><body><p><span style=\" font-size:11pt; font-weight:700;\">\u8868\u683c\u793a\u4f8b</span></p></body></html>",
2046
-                                                        None))
2060
+        # self.label_6.setText(QCoreApplication.translate("MainWindow",
2061
+        #                                                 u"<html><head/><body><p><span style=\" font-size:11pt; font-weight:700;\">\u8868\u683c\u793a\u4f8b</span></p></body></html>",
2062
+        #                                                 None))
2047 2063
         self.label_5.setText(QCoreApplication.translate("MainWindow",
2048
-                                                        u"<html><head/><body><p><span style=\" font-size:8pt;\">1.\u8bf7\u6309\u5982\u4e0b\u683c\u5f0f\u4fdd\u5b58\u6570\u636e\u8868\uff0c\u53ef\u8bc6\u522bxls\u3001xlsx\u6587\u4ef6\u3002(*\u6c34\u51c6\u6d4b\u6bb5\u9ad8\u5dee\u7a33\u5b9a\u6027\u8ba1\u7b97\u76ee\u524d\u4ec5\u652f\u6301.xlsx\u6587\u4ef6)</span></p><p><span style=\" font-size:8pt;\">2.\u7cfb\u7edf\u5c06\u8bc6\u522b\u7b2c\u4e00\u4e2asheet\u6587\u4ef6\uff0c\u6309\u5bf9\u5e94\u5355\u5143\u683c\u8bfb\u53d6\u6570\u636e\uff08\u5982\u5355\u5143\u683c\u9519\u4f4d\uff0c\u4f1a\u5bfc\u81f4\u7cfb\u7edf\u65e0\u6cd5\u8bc6\u522b\uff09</span></p><p><span style=\" font-size:8pt;\">3.\u6700\u5f31\u8fb9\u8fb9\u957f\u76f8\u5bf9\u4e2d\u8bef\u5dee\u53ef\u8bc6\u522b\u5206\u6570\u5f62\u5f0f\uff0c\u4ec5\u652f\u6301\u82f1\u6587\u72b6\u6001\u4e0b\u201c/\u201d\u4f5c\u4e3a\u5206\u9694\u7b26\u3002</span></p><p><span style=\" font-size:8pt;\">4.\u603b\u8fb9\u6570\u8ba1\u7b97\u65f6\uff0c\u5f80\u8fd4\u7b97\u4e24\u6761\u8fb9\u3002</span></p></body></html>",
2064
+                                                        u"<html><head/><body><p><span style=\" font-size:10pt;\">1.\u8bf7\u6309\u5982\u4e0b\u683c\u5f0f\u4fdd\u5b58\u6570\u636e\u8868\uff0c\u53ef\u8bc6\u522bxls\u3001xlsx\u6587\u4ef6\u3002</span></p><p><span style=\" font-size:10pt;\">2.\u8F6F\u4EF6\u53EA\u8BC6\u522B\u7B2C\u4E00\u4E2A\u0073\u0068\u0065\u0065\u0074\u5185\u7684\u5BF9\u5E94\u5355\u5143\u683C\uFF0C\u9519\u4F4D\u4F1A\u5BFC\u81F4\u65E0\u6CD5\u8BA1\u7B97\u3002</span></p><p><span style=\" font-size:10pt;\">3.\u6700\u5f31\u8fb9\u8fb9\u957f\u76f8\u5bf9\u4e2d\u8bef\u5dee\u53ef\u8bc6\u522b\u5206\u6570\u5f62\u5f0f\uff0c\u4ec5\u652f\u6301\u82f1\u6587\u72b6\u6001\u4e0b\u201c/\u201d\u4f5c\u4e3a\u5206\u9694\u7b26\u3002</span></p></body></html>",
2049 2065
                                                         None))
2050 2066
         self.download_1.setText(QCoreApplication.translate("MainWindow", u"\u793a\u4f8b\u4e0b\u8f7d1", None))
2051 2067
         self.download_2.setText(QCoreApplication.translate("MainWindow", u"\u793a\u4f8b\u4e0b\u8f7d2", None))
2052 2068
         self.download_3.setText(QCoreApplication.translate("MainWindow", u"\u793a\u4f8b\u4e0b\u8f7d3", None))
2053 2069
         self.label_7.setText(QCoreApplication.translate("MainWindow",
2054
-                                                        u"<html><head/><body><p><span style=\" font-size:8pt;\">\u70b9\u51fb\u4e0b\u8f7d\u5e73\u9762\u63a7\u5236\u7f51\u7a33\u5b9a\u6027\u793a\u4f8b\u8868</span></p></body></html>",
2070
+                                                        u"<html><head/><body><p><span style=\" font-size:10pt;\">\u70b9\u51fb\u4e0b\u8f7d\u5e73\u9762\u63a7\u5236\u7f51\u7a33\u5b9a\u6027\u793a\u4f8b\u8868</span></p></body></html>",
2055 2071
                                                         None))
2056 2072
         self.label_8.setText(QCoreApplication.translate("MainWindow",
2057
-                                                        u"<html><head/><body><p><span style=\" font-size:8pt;\">\u70b9\u51fb\u4e0b\u8f7d\u63a7\u5236\u7f51\u590d\u6d4b\u5e73\u9762\u57fa\u51c6\u793a\u4f8b\u8868</span></p></body></html>",
2073
+                                                        u"<html><head/><body><p><span style=\" font-size:10pt;\">\u70b9\u51fb\u4e0b\u8f7d\u63a7\u5236\u7f51\u590d\u6d4b\u5e73\u9762\u57fa\u51c6\u793a\u4f8b\u8868</span></p></body></html>",
2058 2074
                                                         None))
2059 2075
         self.label_9.setText(QCoreApplication.translate("MainWindow",
2060
-                                                        u"<html><head/><body><p><span style=\" font-size:8pt;\">\u70b9\u51fb\u4e0b\u8f7d\u6c34\u51c6\u6d4b\u6bb5\u9ad8\u5dee\u7a33\u5b9a\u793a\u4f8b\u8868</span></p></body></html>",
2076
+                                                        u"<html><head/><body><p><span style=\" font-size:10pt;\">\u70b9\u51fb\u4e0b\u8f7d\u6c34\u51c6\u6d4b\u6bb5\u9ad8\u5dee\u7a33\u5b9a\u793a\u4f8b\u8868</span></p></body></html>",
2061 2077
                                                         None))
2062 2078
         self.label_10.setText(QCoreApplication.translate("MainWindow",
2063 2079
                                                          u"<html><head/><body><p><span style=\" font-size:11pt; font-weight:700;\">\u6210\u679c\u9884\u89c8</span></p></body></html>",

Загрузка…
Отмена
Сохранить