diff --git a/db/jtDB.db b/db/jtDB.db index 5cb7d50..da8814b 100644 Binary files a/db/jtDB.db and b/db/jtDB.db differ diff --git a/ui/main_window_ui.py b/ui/main_window_ui.py index 4769bcb..73df297 100644 --- a/ui/main_window_ui.py +++ b/ui/main_window_ui.py @@ -832,16 +832,20 @@ class MainWindowUI(QMainWindow): self.process_table = QTableWidget(8, total_columns) # 8行:1行标题区域 + 1行列标题 + 6行数据 + # 为微丝产线表格设置更大的字体 + process_font = QFont("微软雅黑", 16) # 比normal_font(12)大2个字号 + self.process_table.setFont(process_font) + # 应用通用表格设置 self.setup_table_common(self.process_table) - # 设置行高 - self.process_table.setRowHeight(0, 30) # 标题区域行高 - self.process_table.setRowHeight(1, 30) # 列标题行高 + # 设置行高 - 适当增加以适应新字号 + self.process_table.setRowHeight(0, 40) # 标题区域行高,从30增加到35 + self.process_table.setRowHeight(1, 40) # 列标题行高,从30增加到35 # 设置数据行的行高 for row in range(2, 8): # 工序行 - self.process_table.setRowHeight(row, 35) + self.process_table.setRowHeight(row, 45) # 从35增加到40 # 设置列宽 self.set_process_table_column_widths()