aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qquickmousearea/data/hoverPropagation.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qquickmousearea/data/hoverPropagation.qml')
-rw-r--r--tests/auto/declarative/qquickmousearea/data/hoverPropagation.qml54
1 files changed, 0 insertions, 54 deletions
diff --git a/tests/auto/declarative/qquickmousearea/data/hoverPropagation.qml b/tests/auto/declarative/qquickmousearea/data/hoverPropagation.qml
deleted file mode 100644
index c47c794132..0000000000
--- a/tests/auto/declarative/qquickmousearea/data/hoverPropagation.qml
+++ /dev/null
@@ -1,54 +0,0 @@
-import QtQuick 2.0
-
-Item{
- width: 400
- height: 200
- property bool point1: ma2.containsMouse && !ma1.containsMouse
- property bool point2: ma3.containsMouse && ma4.containsMouse
- Rectangle{
- width: 200
- height: 200
- color: ma1.containsMouse ? "red" : "white"
- MouseArea{
- id: ma1
- hoverEnabled: true
- anchors.fill: parent
- }
- Rectangle{
- width: 100
- height: 100
- color: ma2.containsMouse ? "blue" : "white"
- MouseArea{
- id: ma2
- hoverEnabled: true
- anchors.fill: parent
- }
- }
- }
-
- Item{
- x:200
- Rectangle{
- width: 200
- height: 200
- color: ma3.containsMouse ? "yellow" : "white"
- Rectangle{
- width: 100
- height: 100
- color: ma4.containsMouse ? "green" : "white"
- }
- }
- MouseArea{
- id: ma3
- hoverEnabled: true
- width: 200
- height: 200
- MouseArea{
- id: ma4
- width: 100
- height: 100
- hoverEnabled: true
- }
- }
- }
-}