blob: b247fcee5f423fec53d00f139d6dc3793f7cd472 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import QtQuick 1.0
Rectangle {
id: container
property bool on: false
border.color: "#ffffff"
color: "green"
width: 50
height: 50
NumberAnimation on x {
objectName: "animation"
running: container.on; from: 0; to: 600; loops: Animation.Infinite; duration: 2000
}
}
|