refactor: drop the duplicate in-app title bar; use the OS window title
The in-content header strip showed the app name + version, duplicating the OS window title (setWindowTitle). With the 设置 button already gone it had no other purpose, so remove it (and its styles / unused _HEADER_HEIGHT). Name and version stay visible via the OS title bar; the work area gains ~40px. Docs: UI design 3 (layout) and 4.1 (title bar), tasks.md 17.7. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -297,7 +297,7 @@
|
||||
|
||||
- [x] 先读取 `src/app/main_window.py` 现有内容
|
||||
- [x] 将 `src/app/main_window.py` 从最小窗口扩展为主布局
|
||||
- [x] 实现顶部标题和版本号
|
||||
- [x] ~~实现顶部标题和版本号~~(后移除内容区自绘标题栏:与系统窗口标题重复,名称/版本改由系统标题栏显示,见 17.7)
|
||||
- [x] 实现流程页签区域
|
||||
- [x] 实现左侧素材栏容器
|
||||
- [x] 实现中间预览区容器
|
||||
@@ -668,6 +668,24 @@
|
||||
- [ ] 拖动/缩放预览后输入框仍正常同步
|
||||
- [ ] 质量仍仅在 JPG 时可用
|
||||
|
||||
### 17.7 移除重复的自绘标题栏与无效「设置」按钮
|
||||
|
||||
前置阅读:
|
||||
|
||||
- `docs/07-ui-design.md`(3 整体布局、4.1 标题栏)
|
||||
|
||||
任务:
|
||||
|
||||
- [x] 移除标题栏里点了无反应的占位「设置」按钮
|
||||
- [x] 移除内容区自绘标题栏(与系统窗口标题重复),名称/版本由系统标题栏(`setWindowTitle`)显示
|
||||
- [x] 同步清理相关样式与未用常量
|
||||
|
||||
验收:
|
||||
|
||||
- [x] 界面不再出现重复的软件名称/版本号
|
||||
- [x] 系统窗口标题仍显示 `APP_NAME` 与 `APP_VERSION`
|
||||
- [x] 工作区因移除标题栏而获得更多纵向空间
|
||||
|
||||
## 18. 后续暂缓任务
|
||||
|
||||
以下任务第一阶段暂不做,后续需要时再新增设计文档:
|
||||
|
||||
Reference in New Issue
Block a user