Coverage for src / ezqt_app / domain / models / runtime.py: 100.00%
10 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-26 07:07 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-26 07:07 +0000
1# ///////////////////////////////////////////////////////////////
2# DOMAIN.MODELS.RUNTIME - Runtime state model
3# Project: ezqt_app
4# ///////////////////////////////////////////////////////////////
6"""Pure domain model for mutable runtime state."""
8from __future__ import annotations
10# ///////////////////////////////////////////////////////////////
11# IMPORTS
12# ///////////////////////////////////////////////////////////////
13# Standard library imports
14from dataclasses import dataclass
17# ///////////////////////////////////////////////////////////////
18# DATACLASSES
19# ///////////////////////////////////////////////////////////////
20@dataclass(slots=True)
21class RuntimeStateModel:
22 """Mutable runtime state values used by runtime services."""
24 app_initialized: bool = False
25 app_running: bool = False
26 debug_mode: bool = False
27 verbose_mode: bool = False
28 global_state: bool = False
29 global_title_bar: bool = True