blob: 99ffca1d623c877171d86e0968cc4ea5b1c21b7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import QtQuick 2.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
}
}
|