EzQt-App¶

EzQt-App is a PySide6 framework to bootstrap and structure desktop applications with a ready-to-use shell, configuration workflow, translation support, and reusable UI components.
๐ Quick start¶
Minimal application:
import sys
from ezqt_app import EzApplication, EzQt_App, init
init()
app = EzApplication(sys.argv)
window = EzQt_App()
window.show()
sys.exit(app.exec())
โจ Key features¶
- Application bootstrap:
init, assets generation, and project setup workflows - Modular services: config, settings, runtime, translation, and UI service layers
- Hexagonal architecture:
domaincontracts withservicesadapters and explicit boundaries - Translation stack:
.tsloading + on-the-fly.qmcompilation,EzTranslatorQt interceptor, non-blocking auto-translation with in-app progress indicator - Built-in CLI:
ezqtcommands for init, tests, docs, and utility workflows - Test scopes: unit, integration, and robustness test suites
๐ Documentation¶
| Section | Description |
|---|---|
| Getting Started | Installation, bootstrap, and first app |
| User Guides | Development, testing, and styling guidance |
| API Reference | Service- and architecture-oriented API documentation |
| CLI Reference | Command-line utilities and command options |
| Examples | Practical usage snippets for common scenarios |
| Concepts | Architecture rationale and design decisions |
๐ฏ Main components¶
EzQt-App is organized around architectural modules:
Domain module¶
domain/portsโ service contracts (protocols)domain/modelsโ typed domain models and constantsdomain/resultsโ typed initialization/result payloads
Services module¶
services/bootstrapโ initialization sequence and optionsservices/configโ configuration load/save/path resolutionservices/settingsโ mutable app/gui settings stateservices/translationโ language manager, helpers, auto-translationservices/uiโ UI orchestration services (theme/menu/panel/window)
Widgets module¶
widgets/coreโ application containers (EzApplication,SettingsPanel, etc.)widgets/extendedโ extended reusable controls
For detailed documentation, see API Reference.
๐งช Testing¶
| Metric | Value |
|---|---|
| Test types | Unit, Integration, Robustness |
| Runner | tests/run_tests.py |
| Output mode | Real-time streamed output |
python tests/run_tests.py --type unit
python tests/run_tests.py --type integration
python tests/run_tests.py --type robustness
See the Testing Guide for complete details.
๐ Requirements¶
- Python >= 3.11
- PySide6 >= 6.7.3
- PyYAML / ruamel.yaml โ configuration management
โ๏ธ License¶
MIT License โ see LICENSE for details.