aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/pointerhandlers/flickableinterop/data/pinchOnFlickableWithParentTapHandler.qml
blob: 2660952f16441064c826c1f2c9b6b3f65bfca84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import QtQuick

Rectangle {
    width: 320
    height: 320

    TapHandler {
        onTapped: color = "tomato"
    }

    Flickable {
        anchors.fill: parent
        contentWidth: content.width
        contentHeight: content.height
        Rectangle {
            id: content
            objectName: "pinchable"
            width: 150
            height: 150
            color: "wheat"
            PinchHandler {}
        }
    }
}