feat: implement main window layout with panels and style
Expand MainWindow from placeholder to full structural layout: - Header bar: app name, version label, settings button - Flow tab bar (QTabBar): tabs 2/3 disabled, click redirects to status bar message - Work area (QSplitter): ImageListPanel (left 374px) | ImageCanvas (center, stretch) | right scroll with TemplatePanel/TransformPanel/ExportPanel (318px) - Queue panel (188px, collapsible ▲/▼ toggle) - QStatusBar with Windows-style styling Applies color/font spec from docs/07-ui-design.md §10. No business logic in main_window.py; panel stubs remain for tasks 8–13. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -264,21 +264,21 @@
|
||||
|
||||
任务:
|
||||
|
||||
- [ ] 先读取 `src/app/main_window.py` 现有内容
|
||||
- [ ] 将 `src/app/main_window.py` 从最小窗口扩展为主布局
|
||||
- [ ] 实现顶部标题和版本号
|
||||
- [ ] 实现流程页签区域
|
||||
- [ ] 实现左侧素材栏容器
|
||||
- [ ] 实现中间预览区容器
|
||||
- [ ] 实现右侧参数栏容器
|
||||
- [ ] 实现底部合成队列容器
|
||||
- [ ] 实现底部状态栏
|
||||
- [x] 先读取 `src/app/main_window.py` 现有内容
|
||||
- [x] 将 `src/app/main_window.py` 从最小窗口扩展为主布局
|
||||
- [x] 实现顶部标题和版本号
|
||||
- [x] 实现流程页签区域
|
||||
- [x] 实现左侧素材栏容器
|
||||
- [x] 实现中间预览区容器
|
||||
- [x] 实现右侧参数栏容器
|
||||
- [x] 实现底部合成队列容器
|
||||
- [x] 实现底部状态栏
|
||||
|
||||
验收:
|
||||
|
||||
- [ ] 窗口标题显示 `APP_NAME` 和 `APP_VERSION`
|
||||
- [ ] UI 布局接近 `docs/ui-v1.png`
|
||||
- [ ] 不把所有业务逻辑塞进 `main_window.py`
|
||||
- [x] 窗口标题显示 `APP_NAME` 和 `APP_VERSION`
|
||||
- [x] UI 布局接近 `docs/ui-v1.png`
|
||||
- [x] 不把所有业务逻辑塞进 `main_window.py`
|
||||
|
||||
## 8. 素材列表 UI
|
||||
|
||||
|
||||
Reference in New Issue
Block a user