User Guides¶
In-depth guides and tutorials for EzQt App.
Overview¶
This section provides practical guides for setup, contribution workflow, testing strategy, and styling conventions.
Available Guides¶
| Guide | Description | Level |
|---|---|---|
| Modular UI Guide | Configure and disable UI components | Beginner |
| QSS Style Guide | Visual customization with Qt stylesheets | Beginner |
| Development Guide | Development workflow and contribution guide | Intermediate |
| Testing Guide | Test suite execution and quality strategy | Advanced |
Quick Links¶
For Beginners¶
For Developers¶
For Advanced Users¶
Topics¶
Core Concepts¶
- Architecture layers and migration constraints
- Bootstrap and initialization workflows
- Translation and auto-translation behavior
- Test scope selection and CI-quality checks
Integration¶
- Application shell setup with
EzApplicationandEzQt_App - Theme and config-driven runtime behavior
- Translation manager and string collection workflow
Best Practices¶
- Keep domain/service boundaries explicit
- Prefer service APIs over direct legacy calls
- Maintain tests by scope (unit/integration/robustness)
Development Workflow¶
Setting Up¶
- Clone the repository
- Install in development mode
- Install pre-commit hooks
See the Development Guide for detailed setup instructions.
Testing¶
Run the test suite to ensure everything works:
# Run all tests
python tests/run_tests.py --type all
# Run by scope
python tests/run_tests.py --type unit
python tests/run_tests.py --type integration
python tests/run_tests.py --type robustness
# With coverage
python tests/run_tests.py --coverage
# Using pytest directly
pytest tests/unit/ -v
See the Testing Guide for more information.
Contributing¶
We welcome contributions! Here's how to get started:
- Fork the repository on GitHub
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes with tests
- Run tests and linting (
pytest,ruff check) - Commit your changes with conventional commits
- Push to your fork (
git push origin feature/my-feature) - Open a Pull Request on GitHub
See the Development Guide for contribution guidelines.
Code Style¶
EzQt App follows these coding standards:
- PEP 8 – Python style guide
- Type Hints – Full type annotations for Python 3.10+
- Docstrings – Google-style docstrings for all public APIs
- Ruff – Formatting and linting
- pyright / ty – Static type checking
Documentation¶
Building Docs¶
Build the documentation locally:
# Install docs dependencies
pip install -e ".[docs]"
# Build documentation
mkdocs build
# Serve locally
mkdocs serve
Then open http://127.0.0.1:8000 in your browser.
Using the CLI¶
Writing Docs¶
Documentation is written in Markdown and built with MkDocs Material:
- Guides – Located in
docs/guides/ - API Reference – Auto-generated from docstrings with mkdocstrings
- Examples – Code examples in
docs/examples/ - CLI – Command-line interface docs in
docs/cli/
See Also¶
Need Help?¶
- Issues: GitHub Issues
- Repository: https://github.com/neuraaak/ezqt-app
- Documentation: https://neuraaak.github.io/ezqt-app/