feat(ai-outfit): info popup when user switches resolution/model (§19.7)
Connect QComboBox.activated (user-only) on the 分辨率 and AI 模型 dropdowns to an info-only QMessageBox: resolution shows the per-resolution timeout + next-run-only; model shows its api_type + billing/effect caveat + next-run-only. Track last value so re-selecting the same item doesn't pop; programmatic sets (apply_config/_fill_sample_combo) never pop. Offscreen-verified; suite (12) green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1098,7 +1098,7 @@
|
||||
|
||||
需求:用户手动切换「分辨率」或「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`)不弹;用户切换才弹
|
||||
- [x] `app/widgets/ai_outfit_panel.py`:给 `_resolution` / `_model_combo` 接 **`activated`** 信号(非 `currentIndexChanged`,避免启动/载配置误弹);仅值实际改变时 `QMessageBox.information`,保持新选项、不回退
|
||||
- [x] 分辨率文案带 `ai_image_service.resolution_timeout` 的超时秒数(512/1K/2K/4K→180/240/360/600)+「下次生效」
|
||||
- [x] AI 模型文案带该模型 `api_type` + 计费/效果可能不同 +「下次生效」
|
||||
- [x] 离屏验证:程序化赋值(`apply_config`/`_fill_sample_combo`)不弹(0 次);用户 1K→4K 弹 1 次(含 600s)、同项重选不弹、换模型弹(含 api_type)
|
||||
|
||||
Reference in New Issue
Block a user