Browse Source

修改了显示的一些bug

wzp 8 months ago
parent
commit
d919a3a92b
2 changed files with 3 additions and 2 deletions
  1. 1
    0
      Front/modules/ui_main.py
  2. 2
    2
      setup.py

+ 1
- 0
Front/modules/ui_main.py View File

47
             MainWindow.setObjectName(u"MainWindow")
47
             MainWindow.setObjectName(u"MainWindow")
48
         MainWindow.resize(940, 620)
48
         MainWindow.resize(940, 620)
49
         MainWindow.setMinimumSize(QSize(940, 620))
49
         MainWindow.setMinimumSize(QSize(940, 620))
50
+        MainWindow.setWindowIcon(QIcon("Front/icon.ico"))
50
         self.styleSheet = QWidget(MainWindow)
51
         self.styleSheet = QWidget(MainWindow)
51
         self.styleSheet.setObjectName(u"styleSheet")
52
         self.styleSheet.setObjectName(u"styleSheet")
52
         font = QFont()
53
         font = QFont()

+ 2
- 2
setup.py View File

14
     ("Front/back", "Front/back"),  # 整个back目录
14
     ("Front/back", "Front/back"),  # 整个back目录
15
     ("Front/modules", "Front/modules"),
15
     ("Front/modules", "Front/modules"),
16
     ("Front/widgets", "Front/widgets"),
16
     ("Front/widgets", "Front/widgets"),
17
-    ("SQL", "SQL")
17
+    ("Front/SQL", "Front/SQL")
18
 ]
18
 ]
19
 
19
 
20
 # 添加所有需要包含的隐藏导入
20
 # 添加所有需要包含的隐藏导入
50
         'excludes': ['tkinter'],
50
         'excludes': ['tkinter'],
51
         'include_msvcr': True,
51
         'include_msvcr': True,
52
         'path': [project_root] + sys.path,
52
         'path': [project_root] + sys.path,
53
-        'build_exe': 'build/exe.win-amd64-3.12'  # 指定构建目录
53
+        'build_exe': 'build/ControlNetwork'  # 指定构建目录
54
     }
54
     }
55
 }
55
 }
56
 
56
 

Loading…
Cancel
Save