aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/pointer/sidebar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/pointer/sidebar.qml')
-rw-r--r--tests/manual/pointer/sidebar.qml12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/manual/pointer/sidebar.qml b/tests/manual/pointer/sidebar.qml
index b7370a4fb7..cd59f1d5cf 100644
--- a/tests/manual/pointer/sidebar.qml
+++ b/tests/manual/pointer/sidebar.qml
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2018 The Qt Company Ltd.
+** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the manual tests of the Qt Toolkit.
@@ -187,4 +187,14 @@ Rectangle {
anchors.fill: parent
}
}
+
+ HoverHandler {
+ id: rootHover
+ }
+
+ Text {
+ anchors.right: parent.right
+ color: "cyan"
+ text: "scene " + rootHover.point.scenePosition.x.toFixed(1) + ", " + rootHover.point.scenePosition.y.toFixed(1)
+ }
}