Compare commits

...

2 Commits

Author SHA1 Message Date
06d2d07165 下载今日的新闻 2025-11-11 07:57:37 +08:00
8f56db7d86 修改部分view db的代码 2025-11-11 07:42:55 +08:00
5 changed files with 10617 additions and 2633 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -114,7 +114,8 @@ class DatabaseViewer(QMainWindow):
# 设置列宽
header = self.table.horizontalHeader()
header.setSectionResizeMode(0, QHeaderView.ResizeToContents) # ID列
header.setSectionResizeMode(1, QHeaderView.Stretch) # 文本内容列
header.setSectionResizeMode(1, QHeaderView.Interactive) # 标题列 - 允许用户调整
self.table.setColumnWidth(1, 400) # 设置标题列默认宽度为400像素
header.setSectionResizeMode(2, QHeaderView.ResizeToContents) # 链接列
header.setSectionResizeMode(3, QHeaderView.ResizeToContents) # 分类列
header.setSectionResizeMode(4, QHeaderView.ResizeToContents) # 时间列

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff