changed customer to studio

This commit is contained in:
ykcheungab
2026-09-12 14:03:00 +08:00
parent a2db648560
commit 904c27125f
71 changed files with 112 additions and 3959 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""Render the customer UI offscreen to PNG files for visual review.
"""Render the studio UI offscreen to PNG files for visual review.
The tool never opens a camera and never starts acquisition: it builds the real
main window, optionally injects deterministic demo data, then grabs the window.
@@ -63,7 +63,7 @@ def _demo_data(window) -> None:
)
from orisys_app_shared.theme import color
from orisys_customer.app_window import _bgr_to_qimage
from orisys_studio.app_window import _bgr_to_qimage
size = 320
grid_y, grid_x = np.mgrid[0:size, 0:size].astype(np.float32)
@@ -110,7 +110,7 @@ def main() -> int:
from orisys_app_shared.i18n import set_locale
from orisys_app_shared.theme import build_qss
from orisys_customer.app_window import CustomerMainWindow
from orisys_studio.app_window import StudioMainWindow
app = QApplication(sys.argv)
set_locale(args.lang)
@@ -125,7 +125,7 @@ def main() -> int:
"show_fps": True,
"image_view_mode": args.view,
}
window = CustomerMainWindow(prefs=prefs)
window = StudioMainWindow(prefs=prefs)
window.resize(width, height)
window.show()
app.processEvents()