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 {} } } }