pyside6-qml-models-services
Installation
SKILL.md
PySide6 QML Models & Services
The model and service layers form the backend of the MVC architecture. Models define data structures with Qt signal support; services handle all external interactions; the signal registry provides decoupled cross-layer communication.
Model Layer
BaseModel
All domain models inherit from BaseModel to gain Qt signal support and serialization:
"""models/base.py"""
from datetime import datetime
from typing import Any, TypeVar, Type
from PySide6.QtCore import QObject, Signal
T = TypeVar('T', bound='BaseModel')