aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qdeclarativeanimations/data/registrationBug.qml
blob: 633da4e17f41f1a4512a4753d501d4ff12c49a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 2.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
    }
}