summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/properties/example.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/extending/properties/example.qml')
-rw-r--r--examples/declarative/extending/properties/example.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/declarative/extending/properties/example.qml b/examples/declarative/extending/properties/example.qml
new file mode 100644
index 0000000..9594a84
--- /dev/null
+++ b/examples/declarative/extending/properties/example.qml
@@ -0,0 +1,15 @@
+import People 1.0
+
+// ![0]
+BirthdayParty {
+ celebrant: Person {
+ name: "Bob Jones"
+ shoeSize: 12
+ }
+ guests: [
+ Person { name: "Joan Hodges" },
+ Person { name: "Jack Smith" },
+ Person { name: "Anne Brown" }
+ ]
+}
+// ![0]