diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-04-28 11:47:23 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-05-02 16:44:15 +0200 |
| commit | fbb22873530c200b4ddb9b2da91764948bb9da71 (patch) | |
| tree | 88c64bde71483b6f68c5770e145268282f856c8f /examples/qml/referenceexamples/properties/People/Main.qml | |
| parent | 2c166425cf4143a6c5f6744ffa959a1b77b13e36 (diff) | |
Port the QML reference examples to QML module usage
As a drive-by fix the example origin where applicable.
Task-number: PYSIDE-2206
Task-number: QTBUG-111033
Pick-to: 6.5
Change-Id: If3b17435c17310c3f6c196f7653c7025ad359366
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/qml/referenceexamples/properties/People/Main.qml')
| -rw-r--r-- | examples/qml/referenceexamples/properties/People/Main.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/qml/referenceexamples/properties/People/Main.qml b/examples/qml/referenceexamples/properties/People/Main.qml new file mode 100644 index 000000000..0600b3557 --- /dev/null +++ b/examples/qml/referenceexamples/properties/People/Main.qml @@ -0,0 +1,16 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import People + +BirthdayParty { + host: Person { + name: "Bob Jones" + shoe_size: 12 + } + guests: [ + Person { name: "Leo Hodges" }, + Person { name: "Jack Smith" }, + Person { name: "Anne Brown" } + ] +} |
