import QtQuick 2.0 import Ubuntu.Components 1.1 MainView { id: main applicationName: "com.ubuntu.developer.uriboni.mouseinputtest" useDeprecatedToolbar: false width: units.gu(100) height: units.gu(75) PinchArea { anchors.fill: parent onPinchStarted: console.log("+++++ Pinch started"); onPinchUpdated: console.log("+++++ Pinch updated:", pinch.scale); onPinchFinished: console.log("+++++ Pinch finished"); Flickable { anchors.fill: parent contentWidth: main.width * 2 contentHeight: main.height * 2 Rectangle { color: "red" anchors.centerIn: parent width: main.width / 2 height: main.height / 2 } } } }