blob: fdc3779a5c74178d36b914ce6ba31d704eedd9da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import QtQuick 2.0
Rectangle {
width: 400
height: 400
Rectangle {
id: innerRect
width: 100; height: 100
color: "green"
Behavior on x { NumberAnimation {} }
}
Component.onCompleted: innerRect.x = 100
}
|