added motion simulator feature

This commit is contained in:
ykcheungab
2026-09-21 16:11:45 +08:00
parent ccedb9ddd9
commit f1bec62ca4
21 changed files with 5025 additions and 12 deletions
+4 -1
View File
@@ -116,7 +116,10 @@ def make_window(qt_app, monkeypatch):
from orisys_app_shared.i18n import set_locale
set_locale(str(prefs.get("language") or "zh_CN"))
window = AutoCalMainWindow(prefs=prefs)
# The bundle is not auto-loaded here: rasterising 1024x1024 costs about a
# second, and every window in this suite would pay it. The one test that
# covers auto-loading turns it back on for itself.
window = AutoCalMainWindow(prefs=prefs, auto_load_bundle=False)
# Swap in the simulated platform: no test in this suite touches a DLL.
window.poller.service._transport = DemoTransport() # noqa: SLF001
created.append(window)