Compare commits
2 Commits
4dda80aa4c
...
06d2d07165
| Author | SHA1 | Date | |
|---|---|---|---|
| 06d2d07165 | |||
| 8f56db7d86 |
File diff suppressed because it is too large
Load Diff
@@ -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
BIN
tophub_data.db
BIN
tophub_data.db
Binary file not shown.
2188
tophub_scraper.log
2188
tophub_scraper.log
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user