aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativeanimations/data/registrationBug.qml
blob: 7dc29f9315fb4bd369bef25c8365ecb2d44317ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 1.0

Rectangle {
    id: rect
    width: 200
    height: 200

    property bool animating: true
    property int value: 0

    NumberAnimation {
        target: rect
        property: "value"
        running: rect.animating
        to: 100
        duration: 50
    }
}