diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-10-26 18:01:53 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-10-28 17:49:52 +0200 |
commit | f8e20bb34e2d71bfcfc8710737dfaf6912145642 (patch) | |
tree | b4c226c3e8d64815d53d3078c63c274d956439dd /src/quick/doc | |
parent | 1c5a7ebcde782739cfe02e56a65d274e32bd14fa (diff) |
Use generalized grouped properties in QQuickPropertyChanges
Process deferred bindings like custom parsed ones.
Task-number: QTBUG-95117
Change-Id: Ia4d8ca81e789c1e57bf947c40f76356db3bad8da
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/doc')
-rw-r--r-- | src/quick/doc/snippets/qml/propertychanges.qml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/quick/doc/snippets/qml/propertychanges.qml b/src/quick/doc/snippets/qml/propertychanges.qml index f9e6638f4b..1b5200692b 100644 --- a/src/quick/doc/snippets/qml/propertychanges.qml +++ b/src/quick/doc/snippets/qml/propertychanges.qml @@ -70,7 +70,12 @@ Item { states: State { name: "resized"; when: mouseArea.pressed - PropertyChanges { target: rect; color: "blue"; height: container.height } + PropertyChanges { + rect { + color: "blue" + height: container.height + } + } } } } @@ -88,7 +93,7 @@ Rectangle { states: State { name: "widerText" - PropertyChanges { target: myText; width: undefined } + PropertyChanges { myText.width: undefined } } } |