Qt Reference Documentation
Home
Examples
QML Examples & Demos
Extending QML - Attached Properties Example
Extending QML - Attached Properties Example
Files:
declarative/cppextensions/referenceexamples/attached/birthdayparty.cpp
declarative/cppextensions/referenceexamples/attached/birthdayparty.h
declarative/cppextensions/referenceexamples/attached/example.qml
declarative/cppextensions/referenceexamples/attached/person.cpp
declarative/cppextensions/referenceexamples/attached/person.h
declarative/cppextensions/referenceexamples/attached/main.cpp
declarative/cppextensions/referenceexamples/attached/attached.pro
declarative/cppextensions/referenceexamples/attached/attached.qrc
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