Qt 4.7: Extending QML - Property Value Source Example

Qt Reference Documentation

# Extending QML - Property Value Source Example

Files:

- declarative/cppextensions/referenceexamples/valuesource/birthdayparty.cpp
- declarative/cppextensions/referenceexamples/valuesource/birthdayparty.h
- declarative/cppextensions/referenceexamples/valuesource/example.qml
- declarative/cppextensions/referenceexamples/valuesource/happybirthdaysong.cpp
- declarative/cppextensions/referenceexamples/valuesource/happybirthdaysong.h
- declarative/cppextensions/referenceexamples/valuesource/person.cpp
- declarative/cppextensions/referenceexamples/valuesource/person.h
- declarative/cppextensions/referenceexamples/valuesource/main.cpp
- declarative/cppextensions/referenceexamples/valuesource/valuesource.pro
- declarative/cppextensions/referenceexamples/valuesource/valuesource.qrc

This example builds on:

- Extending QML - Signal Support Example
- Extending QML - Attached Properties Example
- 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