Skip to content

apps / winecellar / frontend / qt_kiosk / pages / pince_roi.py

Path: apps/winecellar/frontend/qt_kiosk/pages/pince_roi.py
Lane: apps
Executable: no/unknown

Purpose

Component: pince_roi

Lane: apps

Path: apps/winecellar/frontend/qt_kiosk/pages/pince_roi.py

Role: Qt Page

Purpose: - Defines 3 class(es) and 1 function(s) that implement this module's responsibilities. - Implements touch-oriented Qt kiosk UI components.

Inputs: - Environment variables read via os.getenv/environment access. - Database sessions/queries executed through SQLAlchemy-related APIs.

Outputs: - No module-scope side effects beyond symbol definitions/import wiring.

Execution: - Interactive Qt kiosk runtime (touch-first UI) within the frontend shell.

Failure modes: - Import path or dependency resolution errors at runtime. - Type/shape mismatches passed into exported functions/classes. - Unexpected runtime state propagated from upstream callers.

Entry points

  • No __main__ guard detected

Key symbols

Classes

  • PinceRoiPage
  • RoiCanvas
  • _RtspReaderThread

Functions

  • _read_env_var_from_file(path, key)

Configuration & environment

  • (no env vars detected by regex)

Dependencies (imports)

  • PySide6.QtCore
  • PySide6.QtGui
  • PySide6.QtWidgets
  • __future__
  • configparser
  • os
  • pages.base
  • pathlib
  • tempfile
  • time
  • typing
  • ui_scale
  • widgets.common

Operational notes (fill in)

  • Headless/interactive:
  • Systemd unit (if any):
  • Schedules/triggers:
  • Debug artifacts:
  • Failure modes: