KenanZhu
|
0069d5274b
|
style(gui): 统一非Qt控件变量为蛇形命名
|
2026-06-25 13:17:36 +08:00 |
|
KenanZhu
|
f9175371dc
|
feat(gui): +/- 按钮文本替换为 QtAwesome 图标,fa5s 统一升级为 fa6s
- ALSettingsWidget: BrowseQssButton/RemoveThemeButton 的 + / - 文本改为 fa6s.plus/fa6s.minus 图标
- ALAutoScriptEditDialog: ZoomInBtn/ZoomOutBtn 的全角 +/- 改为 fa6s.plus/fa6s.minus 图标
- 其余图标同步从 fa5s 升级至 fa6s (Font Awesome 6)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-17 08:15:03 +08:00 |
|
KenanZhu
|
c0b6e0899c
|
fix(theme): 优化 BlueForest 按钮样式
- QPushButton 添加 min-width: 80px, min-height: 25px 统一按钮默认大小
- 移除无效的 QDialogButtonBox 选择器,对话框按钮直接继承 QPushButton
- QPushButton padding 调整为 4px 12px,兼顾各场景按钮尺寸
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-05-30 19:54:25 +08:00 |
|
KenanZhu
|
05b93799d4
|
feat(gui): 引入全局设置窗口 ALSettingsWidget
- 新增 ALSettingsWidget,左侧导航+右侧内容的设置面板
- 合并外观主题、界面风格、自定义QSS为单页布局
- 深浅色主题通过 Qt.ColorScheme 官方 API 实现
- 界面风格变更检测基于当前运行的 QStyle 比对
- 使用 qtawesome 提供矢量导航图标
- 风格变更时弹出重启确认对话框
- ALAutoScriptEditDialog 中重置/复制按钮改用 qtawesome 图标
- 外观初始化迁移至 boot.AppInitializer
- 菜单栏新增工具→全局设置入口
- GLOBAL 配置扩展 appearance 段(theme/style/custom_qss)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-05-30 17:56:21 +08:00 |
|
KenanZhu
|
bb63ee6f03
|
refactor(gui): 统一 Qt 控件变量命名风格为 PascalCase
将所有 self.xxx 形式的 Qt 控件属性名以及 Qt 对象局部变量由 snake_case
重命名为 PascalCase,提升代码可读性和一致性。涉及 14 个文件,涵盖:
- AutoScript 编排/编辑对话框子模块
- 配置/主窗口/用户树/座位图等核心界面组件
- 定时任务管理相关界面
- 状态标签/浏览器驱动下载对话框
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-28 19:35:03 +08:00 |
|
KenanZhu
|
f7167c13f4
|
fix(ALAutoScript*Dialog): 统一编排窗口生成的 Lua 函数名与 ASEngine 运行时一致
- date_add → dateadd, time_add → timeadd
- CURRENT_DATE() → datenow(), CURRENT_TIME() → timenow()
- 编辑窗口 Date/Time 字面量按钮模板同步更新为 date()/time() 格式
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-27 20:25:19 +08:00 |
|
KenanZhu
|
106463b9e5
|
refactor(autoscript): 对象化 ASEngine、移除旧变量导出、清理编排窗口解析逻辑
- ASEngine 转为类,目标变量注册作为 __init__ 接口,配套函数提取到 _helpers.py
- Lua 函数重命名 CURRENT_DATE→datenow, CURRENT_TIME→timenow, date_add→dateadd 等
- __init__.py 移除 ALL_VARIABLES/_TARGET_VAR_DEFS/_MOCK_TYPE_VALUES 导出,替换为接口函数
- 编排窗口移除脚本→控件的反向解析逻辑,合并常量定义为查询接口
- 编辑窗口新增工具函数 Tab、Tab 键插入 4 空格、图标改用 setIcon 加载
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-25 19:10:07 +08:00 |
|
KenanZhu
|
5e898180c7
|
refactor(style): 统一项目代码风格,整理导入顺序、间距规范与方法排列
- GUI 模块统一 QtCore → QtGui → QtWidgets 导入排列,各类独占一行按字母排序
- 统一类间两空行、类内方法间一空行、函数间一空行的间距规范
- 统一方法排列顺序:__init__ → setupUi → connectSignals → public → Slot → private
- 统一 _widgets 中 ConditionRowFrame/ActionStepFrame 方法命名(populate* / toScript / updateValueWidget)
- LibTimeSelector 迁入 operators/abs 抽象层
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-24 13:14:27 +08:00 |
|
KenanZhu
|
a03ab38279
|
refactor(autoscript): 完善 Lua 错误分类与 Date/Time 严格校验,清理死代码并补齐类型注解
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-24 01:02:17 +08:00 |
|
KenanZhu
|
3cea7df736
|
refactor(gui): 编排编辑窗口适配 Lua 引擎新接口
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-21 18:22:49 +08:00 |
|
KenanZhu
|
82738be99a
|
feat(gui): 编辑窗口支持调试运行与动态模拟目标数据输入
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-21 04:21:52 +08:00 |
|
KenanZhu
|
87787ad3dc
|
style(gui): 编辑器高亮配色更改为 VSCode C 风格并为布尔字面量独立配色
|
2026-05-18 17:59:00 +08:00 |
|
KenanZhu
|
e800f6ece1
|
refactor(gui): 统一 setupUi 命名并调整按钮布局
|
2026-05-18 16:01:22 +08:00 |
|
KenanZhu
|
6cf182c8c8
|
refactor(gui): 编排窗口迁移至新包并移除旧的预览/编排对话框
|
2026-05-18 11:15:35 +08:00 |
|