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:
2026-06-17 09:05:47 +08:00
co-authored by Claude Opus 4.8
parent 162c3fc788
commit 0cb1544654
3 changed files with 26 additions and 55 deletions
+4 -12
View File
@@ -17,10 +17,9 @@
## 3. 整体布局
主窗口采用固定工具型布局:
主窗口采用固定工具型布局(软件名称与版本号由系统窗口标题栏显示,内容区不再单设标题栏):
```text
标题栏
流程页签
主工作区:左侧素材栏 | 中间预览区 | 右侧参数栏
底部合成队列
@@ -47,20 +46,13 @@
### 4.1 标题栏
内容:
- 软件图标。
- 软件名称:`自动合成印花服饰效果图工具`。
- 当前版本号,放在软件名称右侧,例如:`v1.0.0`。
- Windows 窗口按钮。
直接使用系统(Windows)窗口标题栏显示软件名称与版本号(通过窗口标题设置,例如 `自动合成印花服饰效果图工具 v1.0.0`),不在内容区另画一条标题栏。
要求:
- 标题栏高度紧凑。
- 版本号使用低于软件名称的视觉层级,例如浅灰小字。
- 版本号必须常驻显示,便于用户和管理员确认当前运行版本。
- 软件名称与版本号通过窗口标题常驻显示,便于用户和管理员确认当前运行版本。
- 不在窗口内容区重复软件名称与版本号——内容区自绘标题栏会与系统标题栏重复,故不设置(除非后续改为无边框窗口、由自绘标题栏取代系统标题栏)。
- 暂不提供「设置」入口:当前可配置项不多,且输出目录/格式/质量在导出面板就地可改。待确有集中设置需求时再加,避免放置点了无反应的占位按钮。
- 不放复杂业务按钮。
### 4.2 流程页签