Qt 5.15
Qt QML
Qt QML Examples
Extending QML - Attached Properties Example
Qt 5.15.8 Reference Documentation
Extending QML - Attached Properties Example
Attached Properties.
This example builds on:
Extending QML - Grouped Properties Example
Extending QML - Default Property Example
Extending QML - Inheritance and Coercion Example
Extending QML - Object and List Property Types Example
Extending QML - Adding Types Example
Example project @ code.qt.io