aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickanimations/data/pauseBindingBug.qml
blob: 359cda166fab7e63b3d9b3465d462addc1bcb4f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 2.0

Rectangle {
    id: rect
    width: 200
    height: 200

    property bool animating: false
    property int value: 0

    NumberAnimation on value {
        objectName: "animation"
        paused: !rect.animating
        to: 100
        duration: 50
    }
}