Project Handler
app.ui.handlers.project_handlerModule for project handler; translates user actions into application calls and UI feedback.
See Also
ProjectService— loads and saves project stateProjectStore— persists project documents
Layer: Presentation. Context: Translates user actions into application calls and ui feedback at this architectural boundary.
ProjectHandler
Bases: QObject
Represent project handler.
| PARAMETER | DESCRIPTION |
|---|---|
controller
|
Controller supplying project operations, the project window, and session-list refresh callbacks.
TYPE:
|
__init__(controller: UIController) -> None
on_new_project() -> None
Clear the current project and its sessions, then reset project-related UI state.
on_open_project() -> None
Prompt for a project file, restore it, and refresh the session and project UI.
on_save_project() -> None
Save to the current project path, prompting for a path when none is set.
on_save_project_as() -> None
Prompt for a .blurzy destination and save the current project there.