Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.
C++
tools(ui-mig): G0.4 shoot all 17 states and compose design/QML comparisons
Veyra Goal Agent38adcd81e7ac
diff --git a/docs/UI_FULL_GOAL_PLAN_2026-09-26.md b/docs/UI_FULL_GOAL_PLAN_2026-09-26.mdindex 16518a06..ac876179 100644--- a/docs/UI_FULL_GOAL_PLAN_2026-09-26.md+++ b/docs/UI_FULL_GOAL_PLAN_2026-09-26.md@@ -9,7 +9,7 @@| 阶段 | 状态 | 最后标签 | 备注 ||---|---|---|---|-| G0 工具与基线 | 进行中 | checkpoint/ui-mig-g0.3 | G0.2 设计参考在 `logs\ui-qml-migration-20260925\design-ref\`(shotpage 默认关过渡,`?motion=1` 保留动画);G0.3 测试开关逐项截图于 `goal\g0.3\`;下一步 G0.4 |+| G0 工具与基线 | 进行中 | checkpoint/ui-mig-g0.4 | G0.2 设计参考在 `logs\ui-qml-migration-20260925\design-ref\`(shotpage 默认关过渡,`?motion=1` 保留动画);G0.3 测试开关逐项截图于 `goal\g0.3\`;G0.4 对比图在 `compare\`;下一步 G0.5 || G1 基础(缓动/背景/字体/图标/组件动效) | 未开始 | | || G2 外壳 | 未开始 | | || G3 四主屏 | 未开始 | | |diff --git a/docs/UI_MIGRATION_EXECUTION_2026-09-25.md b/docs/UI_MIGRATION_EXECUTION_2026-09-25.mdindex dcc1419a..c264af2f 100644--- a/docs/UI_MIGRATION_EXECUTION_2026-09-25.md+++ b/docs/UI_MIGRATION_EXECUTION_2026-09-25.md@@ -39,6 +39,7 @@| G | 目标模式全量计划 | 进行中 | `checkpoint/ui-mig-g-plan` | 见 [`UI_FULL_GOAL_PLAN_2026-09-26.md`](UI_FULL_GOAL_PLAN_2026-09-26.md) || G0.2 | 17 张设计参考(无头 Edge) | 完成(逐张看图) | `checkpoint/ui-mig-g0.2` | `logs\ui-qml-migration-20260925\design-ref\`;首版对话框被截在淡入中途、与底页重叠,`shotpage.js` 默认 `setReduced(true)` 后重渲染 || G0.3 | 应用测试开关 | 完成(逐项截图已看) | `checkpoint/ui-mig-g0.3` | `--page --tab --dialog --aspect --dock-pinned --size WxH --reduced-motion --slow-animations N`;证据 `goal\g0.3\`。带片源时应用自动进极简且原生视频窗盖住 QML,对话框/dock 截图需不带片源 |+| G0.4 | `shoot-all.ps1`(17 屏 QML)+ `compose-compare.ps1`(左设计右 QML) | 完成(看图) | `checkpoint/ui-mig-g0.4` | QML 截图 `logs\ui-qml-migration-20260925\qml-ref\`,对比 `compare\cmp-f-*.png`。首页缺“继续上次/最近”、卡片图标为 emoji、标志偏低;专业页缺 NR 多层卡、仪表折线与分段柱、顺序条换行——列入 G1/G3 |## 发现并修复的 bugdiff --git a/docs/WORKLOG.md b/docs/WORKLOG.mdindex 5a039097..4103b7fc 100644--- a/docs/WORKLOG.md+++ b/docs/WORKLOG.md@@ -6538,3 +6538,7 @@ release. 5090 live acceptance, 15-second hitch and user flicker remain unresolve`E:\项目\Veyra\logs\ui-qml-migration-20260925\goal\g0.3\` 并看图:tab-fg、dlg-capture、min-aspect、node-size(1600x1150)、dock-pinned、slow-dialog(10 倍慢速截到对话框缩放中途)。引擎门槛未跑(本步只改 QML 前端与测试开关,未动引擎)。++- G0.4:`tools/qt_probe/shoot-all.ps1` 按 17 个设计帧状态截 QML(不带片源、减少动画),+ `compose-compare.ps1` 生成左右对比 `E:\项目\Veyra\logs\ui-qml-migration-20260925\compare\`。+ 首次运行无输出:`$frames` 表覆盖了同名参数 `-Frames`(PowerShell 变量名不分大小写),改名 `$states`。diff --git a/tools/qt_probe/compose-compare.ps1 b/tools/qt_probe/compose-compare.ps1new file mode 100644index 00000000..ee9ff6ac--- /dev/null+++ b/tools/qt_probe/compose-compare.ps1@@ -0,0 +1,35 @@+# Lays each design reference (left) next to the QML shot of the same state (right),+# labelled, for the frame-by-frame comparison. Missing sides are drawn as a grey box+# with the reason, not skipped, so a gap is visible in the set.+param(+ [string]$Design = 'E:\项目\Veyra\logs\ui-qml-migration-20260925\design-ref',+ [string]$Qml = 'E:\项目\Veyra\logs\ui-qml-migration-20260925\qml-ref',+ [string]$Out = 'E:\项目\Veyra\logs\ui-qml-migration-20260925\compare',+ [string[]]$Frames = @()+)+Add-Type -AssemblyName System.Drawing+New-Item -ItemType Directory -Force $Out | Out-Null+$ids = Get-ChildItem -LiteralPath $Design -Filter 'f-*.png' | ForEach-Object { $_.BaseName }+$font = New-Object Drawing.Font('Microsoft YaHei', 14)+$white = [Drawing.Brushes]::White+foreach ($id in $ids) {+ if ($Frames.Count -and $Frames -notcontains $id) { continue }+ $d = [Drawing.Image]::FromFile((Join-Path $Design "$id.png"))+ $qp = Join-Path $Qml "qml-$id.png"+ $q = if (Test-Path -LiteralPath $qp) { [Drawing.Image]::FromFile($qp) } else { $null }+ $qw = if ($q) { $q.Width } else { $d.Width }+ $qh = if ($q) { $q.Height } else { $d.Height }+ $gap = 16; $head = 32+ $bmp = New-Object Drawing.Bitmap ($d.Width + $gap + $qw), ($head + [Math]::Max($d.Height, $qh))+ $g = [Drawing.Graphics]::FromImage($bmp)+ $g.Clear([Drawing.Color]::FromArgb(40, 40, 46))+ $g.DrawString("$id 设计稿 $($d.Width)x$($d.Height)", $font, $white, 8, 4)+ $g.DrawString("QML $(if ($q) { "$($q.Width)x$($q.Height)" } else { '缺失' })", $font, $white, $d.Width + $gap + 8, 4)+ $g.DrawImage($d, 0, $head, $d.Width, $d.Height)+ if ($q) { $g.DrawImage($q, $d.Width + $gap, $head, $q.Width, $q.Height); $q.Dispose() }+ else { $g.FillRectangle([Drawing.Brushes]::DimGray, $d.Width + $gap, $head, $qw, $qh) }+ $file = Join-Path $Out "cmp-$id.png"+ $bmp.Save($file, [Drawing.Imaging.ImageFormat]::Png)+ $g.Dispose(); $bmp.Dispose(); $d.Dispose()+ "saved $file"+}diff --git a/tools/qt_probe/shoot-all.ps1 b/tools/qt_probe/shoot-all.ps1new file mode 100644index 00000000..73168fa6--- /dev/null+++ b/tools/qt_probe/shoot-all.ps1@@ -0,0 +1,41 @@+# Shoots the QML app in the state of each of the 17 design frames (board.js FRAMES),+# no clip loaded, reduced motion on, so each shot is the settled final state and can+# be laid next to the design reference from shoot-design.ps1.+#+# With a clip the app jumps to the minimal page and the native video window covers the+# QML layer, so dialogs and the dock would not be visible; the design frames have no+# film either (the minimal page is black until a source plays).+param(+ [string]$Out = 'E:\项目\Veyra\logs\ui-qml-migration-20260925\qml-ref',+ [string[]]$Frames = @(),+ [int]$WaitSeconds = 5+)+# Dialog keys differ: the design says savePresetList / managePresetsList / toNode, the+# QML DialogHost says save / manage. 'tonode' has no QML dialog yet (G4).+# Named $states, not $frames: PowerShell names are case-insensitive and it would+# overwrite the -Frames parameter.+$states = [ordered]@{+ 'f-home' = @('home', '')+ 'f-min' = @('min', '--aspect 2.39')+ 'f-min169' = @('min', '--aspect 1.7778 --dock-pinned')+ 'f-cap' = @('home', '--dialog capture')+ 'f-ps5' = @('home', '--dialog ps5')+ 'f-scr' = @('home', '--dialog screen')+ 'f-sub' = @('min', '--dialog subtitle')+ 'f-aud' = @('min', '--dialog audio')+ 'f-pro' = @('pro', '')+ 'f-fg' = @('pro', '--tab fg')+ 'f-color' = @('pro', '--tab color')+ 'f-save' = @('pro', '--dialog save')+ 'f-manage' = @('pro', '--dialog manage')+ 'f-tonode' = @('pro', '--dialog tonode')+ 'f-node' = @('node', '--size 1600x1150')+ 'f-exp' = @('exp', '')+ 'f-set' = @('set', '')+}+$capture = Join-Path $PSScriptRoot 'capture-window.ps1'+foreach ($id in $states.Keys) {+ if ($Frames.Count -and $Frames -notcontains $id) { continue }+ $page, $extra = $states[$id]+ & $capture -Page $page -Out $Out -Name $id -Extra ("$extra --reduced-motion").Trim() -WaitSeconds $WaitSeconds+}