把运行/预览/暂停等采集控制挪到「采集」菜单。

菜单栏顺序为文件 | 采集 | 视图 | 帮助;复位视图、主题与语言仍在视图。快捷键不变。
This commit is contained in:
ykcheungab
2026-10-07 21:31:02 +08:00
parent 92e6de6913
commit 154a84ddae
4 changed files with 58 additions and 49 deletions
+14 -12
View File
@@ -154,8 +154,10 @@
"elements": [
{ "id": "file_menu", "path": "file_menu", "objectName": null, "class": "QMenu",
"purpose": "open a video, reveal the sensor config, open a recording for playback" },
{ "id": "session_menu", "path": "session_menu", "objectName": null, "class": "QMenu",
"purpose": "acquisition session controls: run, cancel, preview, tracker reset, pause" },
{ "id": "view_menu", "path": "view_menu", "objectName": null, "class": "QMenu",
"purpose": "what is on screen: panels, 3D, display aids, transport shortcuts, theme and language" },
"purpose": "what is on screen: panels, 3D, display aids, reset views, theme and language" },
{ "id": "theme_menu", "path": "theme_menu", "objectName": null, "class": "QMenu",
"purpose": "the dark / light submenu of the view menu" },
{ "id": "lang_menu", "path": "lang_menu", "objectName": null, "class": "QMenu",
@@ -172,6 +174,16 @@
"purpose": "file menu: open the most recent recording" },
{ "id": "act_play", "path": "act_play", "objectName": null, "class": "QAction",
"purpose": "Space: the transport shortcut, a window action with no menu entry" },
{ "id": "act_run", "path": "act_run", "objectName": null, "class": "QAction",
"purpose": "session menu / F5: start a run (the rail's transport is the primary control)" },
{ "id": "act_stop", "path": "act_stop", "objectName": null, "class": "QAction",
"purpose": "session menu / Esc: stop the session or the replay" },
{ "id": "act_preview", "path": "act_preview", "objectName": null, "class": "QAction",
"purpose": "session menu / F6: camera preview on/off" },
{ "id": "act_reset", "path": "act_reset", "objectName": null, "class": "QAction",
"purpose": "session menu / Ctrl+R: the rail's reset on a second surface, named from the view it is in (reset sensor tracker while measuring, reset display while replaying)" },
{ "id": "act_pause", "path": "act_pause", "objectName": null, "class": "QAction",
"purpose": "session menu / F7: pause/resume the live session, the same state as the transport" },
{ "id": "act_cal_panel", "path": "act_cal_panel", "objectName": null, "class": "QAction",
"purpose": "view menu: show the calibration panel (checking it enters the calibration view, unchecking returns to live)" },
{ "id": "act_finger_3d", "path": "act_finger_3d", "objectName": null, "class": "QAction",
@@ -192,18 +204,8 @@
"purpose": "view menu: analyze video — serve a stored result or run the pass; same state as the rail's button" },
{ "id": "act_analysis_setup", "path": "act_analysis_setup", "objectName": null, "class": "QAction",
"purpose": "view menu: reopen the analysis setup dialog (profile, calibration, reference frame)" },
{ "id": "act_run", "path": "act_run", "objectName": null, "class": "QAction",
"purpose": "F5: start a run (the rail's transport is the primary control)" },
{ "id": "act_stop", "path": "act_stop", "objectName": null, "class": "QAction",
"purpose": "Esc: stop the session or the replay" },
{ "id": "act_preview", "path": "act_preview", "objectName": null, "class": "QAction",
"purpose": "F6: camera preview on/off" },
{ "id": "act_reset", "path": "act_reset", "objectName": null, "class": "QAction",
"purpose": "Ctrl+R: the rail's reset on a second surface, named from the view it is in (reset sensor tracker while measuring, reset display while replaying)" },
{ "id": "act_reset_view", "path": "act_reset_view", "objectName": null, "class": "QAction",
"purpose": "F8: reset the views (curves, window, cursor, 3D camera) without touching the device" },
{ "id": "act_pause", "path": "act_pause", "objectName": null, "class": "QAction",
"purpose": "F7: pause/resume the live session, the same state as the transport" },
"purpose": "view menu / F8: reset the views (curves, window, cursor, 3D camera) without touching the device" },
{ "id": "act_theme_dark", "path": "act_theme_dark", "objectName": null, "class": "QAction",
"purpose": "theme submenu: dark theme" },
{ "id": "act_theme_light", "path": "act_theme_light", "objectName": null, "class": "QAction",