20 lines
807 B
Python
20 lines
807 B
Python
|
|
"""Python Flet GUI — Russian-language desktop UI mirroring the Rust Tauri GUI.
|
||
|
|
|
||
|
|
Entry point: `python -m gui` (see `__main__.py`).
|
||
|
|
|
||
|
|
Layout:
|
||
|
|
gui/__init__.py # this docstring
|
||
|
|
gui/__main__.py # `python -m gui` entry
|
||
|
|
gui/app.py # routing, layout, theme
|
||
|
|
gui/pages/ # one file per page (home, commands, macros, ...)
|
||
|
|
gui/services.py # thin sync wrappers around store modules
|
||
|
|
|
||
|
|
Design notes:
|
||
|
|
- Each page is a function `build(page: ft.Page) -> ft.Control` returning a
|
||
|
|
composable view. This keeps state per-page lazy and lets the user navigate
|
||
|
|
without prematurely loading everything.
|
||
|
|
- The GUI does not start the assistant; it only manipulates state files and
|
||
|
|
hot-launches `main.py` in a subprocess (mirroring how the Rust GUI starts
|
||
|
|
jarvis-app.exe via tray).
|
||
|
|
"""
|