aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/pointerhandlers/components/TouchpointFeedbackSprite.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-10-25 11:41:39 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-10-27 08:40:21 +0200
commit21f15ede606df028479335c64c333db5fb1bb3f7 (patch)
tree6a50316f5293e381b6246a76f09dd8c98eb04342 /examples/quick/pointerhandlers/components/TouchpointFeedbackSprite.qml
parent19fc7cfc5c46392487519ffd12f189a71a2a92be (diff)
QQmlProperty: Add flexibility to initProperty()
Using private API, you can now construct a QQmlProperty from an unknown object by passing a dot-separated string that starts with an ID. You can also have a plain signal name (without "on") as the last part of the name. Both variants are optional and have to be enabled via flags. In Qt7, we should clean up the "on" vs. plain signal name affair. For now we can't because everything expects the "on". Constructing properties from ID'd objects can only be done in specific places. Therefore this has to be manually enabled. Furthermore, you can now create properties, not only signals, from plain QMetaObjects. This is enabled unconditionally because there was no reason for this to not work before. Change-Id: I9ff764130b70f9d023ab63d492f83290e8e87ef3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'examples/quick/pointerhandlers/components/TouchpointFeedbackSprite.qml')
0 files changed, 0 insertions, 0 deletions