summaryrefslogtreecommitdiffstats
path: root/examples/declarative/animation/easing/content/QuitButton.qml
blob: 70747a83a9462225cc608afecd2f956f35ff77bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt 4.7
Image {
    source: "quit.png"
    scale: quitMouse.pressed ? 0.8 : 1.0
    smooth: quitMouse.pressed
    MouseArea {
        id: quitMouse
        anchors.fill: parent
        anchors.margins: -10
        onClicked: Qt.quit()
    }
}