qml example: scale |
import QtQuick 2.0 Rectangle { width: 360 height: 360 Text { text: qsTr("Hello World: " + parent.width + " x " + parent.height) scale: 0.8 anchors.centerIn: parent } Image { id: myimage source: "http://goo.gl/J4xj0" scale: 2.1 MouseArea { id: mouseArea anchors.fill: parent hoverEnabled: true onClicked: Qt.quit() } } }