diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-11-25 15:38:42 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-01-03 07:05:58 +0000 |
commit | 5c6245b7ff7a941c0a2425f32909c0dc0982e199 (patch) | |
tree | 7ece0d257763e37a75b1b0caa9caa35813665342 /tests/manual/pointer/main.qml | |
parent | f1fa7f18b09cad465867ff036ea500d4e2eda868 (diff) |
QQPSingleHandler: copy some values from QQuickEventPoint to properties
We can't copy the eventpoint and we can't continue to refer to it after
delivery, either. So we can't have an event property. Some QML use
cases depend on being able to access last-known values between events.
Change-Id: Ice8a1763015f2554275d0cb76824fd0366eaef56
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual/pointer/main.qml')
-rw-r--r-- | tests/manual/pointer/main.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/pointer/main.qml b/tests/manual/pointer/main.qml index 64b7148bd2..62202c39b1 100644 --- a/tests/manual/pointer/main.qml +++ b/tests/manual/pointer/main.qml @@ -50,6 +50,7 @@ Window { id: ll anchors.fill: parent Component.onCompleted: { + addExample("single point handler", "QQuickPointerSingleHandler: test properties copied from events", Qt.resolvedUrl("singlePointHandlerProperties.qml")) addExample("joystick", "DragHandler: move one item inside another with any pointing device", Qt.resolvedUrl("joystick.qml")) addExample("mixer", "mixing console", Qt.resolvedUrl("mixer.qml")) addExample("pinch", "PinchHandler: scale, rotate and drag", Qt.resolvedUrl("pinchHandler.qml")) |