1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import QtQuick 2.3 Flickable { id: flickable width: 400 height: 400 contentWidth: 800 contentHeight: 800 Rectangle { x: 200 y: 200 width: 400 height: 400 color: "green" MouseArea { id: ma objectName: "ma" anchors.fill: parent } } }