diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-07 11:07:41 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-11-24 12:55:45 +0000 |
commit | cc0ca08cde199213ca2481b6a25f4650a4b4e12c (patch) | |
tree | f6753e38e22eaa2b6aa774e260ddfc0dee72f641 /tests/manual/pointer/main.qml | |
parent | 6eabb3edf27e3b73205fa70e4497ce7ec1201adc (diff) |
add touchpoint feedback to PointerHandlers manual test
Change-Id: I7f4783b6f9a5237ef6b8ae1a89fedaf9cdadffc5
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/manual/pointer/main.qml')
-rw-r--r-- | tests/manual/pointer/main.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/manual/pointer/main.qml b/tests/manual/pointer/main.qml index 4f7f610e8d..de7a11bbcc 100644 --- a/tests/manual/pointer/main.qml +++ b/tests/manual/pointer/main.qml @@ -28,7 +28,9 @@ import QtQuick 2.8 import QtQuick.Window 2.2 +import Qt.labs.handlers 1.0 import "qrc:/quick/shared/" as Examples +import "content" Window { width: 800 @@ -53,4 +55,18 @@ Window { addExample("flickable with Handlers", "Flickable with buttons, sliders etc. implemented in various ways", Qt.resolvedUrl("flickableWithHandlers.qml")) } } + Item { + id: glassPane + objectName: "glassPane" + z: 10000 + anchors.fill: parent + + // TODO use Instantiator to create these... but we need to be able to set their parents to glassPane somehow (QTBUG-64546) + TouchpointFeedbackSprite { } + TouchpointFeedbackSprite { } + TouchpointFeedbackSprite { } + TouchpointFeedbackSprite { } + TouchpointFeedbackSprite { } + TouchpointFeedbackSprite { } + } } |