feat(ui): 接入主入口 + 迁移 LoginDialog/ImageGeneratorWindow 样式
- main() 创建 QApplication 后立即 apply_theme,所有后续 widget(含 preflight QMessageBox)都吃全局主题 - LoginDialog: 删 80 行 inline QSS 块,objectName=loginDialog/loginTitle,主按钮 variant=primary,error_label status property - ImageGeneratorWindow: 删 50 行 apply_styles QSS 块,删 30 处 inline setStyleSheet - "生成图片" 主按钮 variant=primary(pill 圆角 + accent 实色背景) - status_label 全部用 _set_status(success|warning|danger|info|muted) helper - DragDropScrollArea 拖拽态走 drag_state property(idle/active) - 缩略图 role=thumb/thumb_index,删除按钮 #thumbDeleteBtn variant=danger - generated_image_label has_image property,"已复制" success-flash variant - preview_label/prompt_display 走 objectName + 全局 QSS 剩余:StyleDesignerTab 和 task_queue.py。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Showing
15 changed files
with
943 additions
and
0 deletions
This diff is collapsed.
Click to expand it.
openspec/changes/add-image-history/design.md
0 → 100644
openspec/changes/add-image-history/tasks.md
0 → 100644
openspec/changes/add-logging-system/tasks.md
0 → 100644
test_config_loading.py
0 → 100644
-
Please register or sign in to post a comment