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

Item {
    width: 200; height: 200

    Rectangle {
        x: 50; y: 50; width: 50; height: 50; color: "red"

        SequentialAnimation on rotation {
            NumberAnimation {
                from: 0; to: 90; duration: 100
                loops: 3
            }
        }
    }
}