summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-04-15 10:22:34 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-04-20 18:40:01 +0000
commit11034bd4ab4163797ae9e0dffd110217d2aafdaa (patch)
tree5de4b1fc54b66d2b241a667d292c83d9e7e0af11 /tests/manual
parente58241c5d4630b4cb00cb28d7cf6bb31b861ec6b (diff)
PH manual tests: better object names for easier debugging
Change-Id: Icd5b9dc5fa00c98cc40b03e9d72f6b28fc51a579 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/pointer/content/Slider.qml3
-rw-r--r--tests/manual/pointer/flingAnimation.qml1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/manual/pointer/content/Slider.qml b/tests/manual/pointer/content/Slider.qml
index a1decf8c4b..44dea8e33b 100644
--- a/tests/manual/pointer/content/Slider.qml
+++ b/tests/manual/pointer/content/Slider.qml
@@ -92,13 +92,14 @@ Item {
function setValue(value) { knob.y = dragHandler.yAxis.maximum - value / knob.multiplier }
DragHandler {
id: dragHandler
+ objectName: label.text + " DragHandler"
xAxis.enabled: false
yAxis.minimum: slot.y
yAxis.maximum: slot.height + slot.y - knob.height
}
TapHandler {
id: tap
- objectName: label.text
+ objectName: label.text + " TapHandler"
gesturePolicy: TapHandler.DragThreshold
onTapped: {
tapFlash.start()
diff --git a/tests/manual/pointer/flingAnimation.qml b/tests/manual/pointer/flingAnimation.qml
index 11b97dbb31..c8722fabb1 100644
--- a/tests/manual/pointer/flingAnimation.qml
+++ b/tests/manual/pointer/flingAnimation.qml
@@ -67,6 +67,7 @@ Rectangle {
DragHandler {
id: dragHandler
+ objectName: "dragHandler" + index
onActiveChanged: {
if (!active)
anim.restart(velocity)