diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-09-26 09:03:49 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-09-30 10:12:17 +0200 |
| commit | 59afd2dd4a87b06d065cedc7d028d7fda85438a1 (patch) | |
| tree | 71f4ea94a0a91a0b2d08909816986bf83171646a /examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/People | |
| parent | 5d7bdfcd5c9e3748a041a9bd4069937adaf89129 (diff) | |
Update the Advanced QML Extensions tutorial
Adapt to qtdeclarative/405bd4299819e39397cea0090a9442fd4b6ce911 and
other changes.
Pick-to: 6.10
Task-number: PYSIDE-2206
Task-number: QTBUG-111033
Change-Id: I73718131a58b5cc8b51c881fcb6bc1e4a57b1bfd
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/People')
| -rw-r--r-- | examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/People/Main.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/People/Main.qml b/examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/People/Main.qml index 3c34234fd..525c377c7 100644 --- a/examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/People/Main.qml +++ b/examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/People/Main.qml @@ -1,9 +1,8 @@ // Copyright (C) 2022 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause -import QtQuick - import People +import QtQuick // For QColor BirthdayParty { host: Boy { @@ -15,7 +14,8 @@ BirthdayParty { name: "Leo Hodges" shoe { size: 10; color: "black"; brand: "Thebok"; price: 59.95 } } - Boy { name: "Jack Smith" + Boy { + name: "Jack Smith" shoe { size: 8 color: "blue" @@ -28,6 +28,6 @@ BirthdayParty { shoe.size: 7 shoe.color: "red" shoe.brand: "Job Macobs" - shoe.price: 699.99 + shoe.price: 99.99 } } |
