docs(ai-outfit): spec resolution/model switch info popup (§10.2 / §19.7)
User switching the 分辨率 or AI 模型 dropdown shows an info-only QMessageBox (no block, no revert) about the impact: resolution -> per-resolution timeout + next-run-only; model -> api_type + billing/effect may differ + next-run-only. Trigger via QComboBox.activated (user-only) so programmatic sets don't pop. Add §10.2 design + §19.7 task (not yet implemented). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1091,3 +1091,14 @@
|
||||
- [x] `app/widgets/ai_outfit_panel.py`:内嵌预览改用 `render_prompt`(带当前分辨率),分辨率下拉变化时刷新预览,使「预览 = 实际发送」
|
||||
- [x] 单测:带 `resolution` 追加尾巴且内容正确、无 `resolution` 不加;`build_output_requirements` 空/非空(加入 `tests/test_ai_outfit.py`,全套 12 文件绿)
|
||||
- [ ] 同步 `docs/ui-ai-outfit.html` 预览框示例含该段并重渲 `.png`(可选,未做)
|
||||
|
||||
### 19.7 切换分辨率 / AI 模型时信息提示 — docs/11 §10.2
|
||||
|
||||
前置阅读:`docs/11-ai-outfit.md`(§10.2)
|
||||
|
||||
需求:用户手动切换「分辨率」或「AI 模型」下拉时弹信息框告知影响(**只告知、不拦截、不还原**)。决策:每次实际更换都弹一次。
|
||||
|
||||
- [ ] `app/widgets/ai_outfit_panel.py`:给 `_resolution` / `_model_combo` 接 **`activated`** 信号(非 `currentIndexChanged`,避免启动/载配置误弹);仅值实际改变时 `QMessageBox.information`,保持新选项、不回退
|
||||
- [ ] 分辨率文案带 `ai_image_service.resolution_timeout` 的超时秒数(512/1K/2K/4K→180/240/360/600)+「下次生效」
|
||||
- [ ] AI 模型文案带该模型 `api_type` + 计费/效果可能不同 +「下次生效」
|
||||
- [ ] 离屏验证:程序化赋值(`apply_config`/`_set_combo`/`_fill_sample_combo`)不弹;用户切换才弹
|
||||
|
||||
Reference in New Issue
Block a user