projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qtquick2
/
qdeclarativebehaviors
/
data
/
loop.qml
1
import QtQuick 2.0
2
Rectangle {
3
width: 400
4
height: 400
5
Rectangle {
6
id: rect
7
objectName: "MyRect"
8
width: 100; height: 100; color: "green"
9
Behavior on x { NumberAnimation { duration: 200; } }
10
onXChanged: x = 100;
11
}
12
states: State {
13
name: "moved"
14
PropertyChanges {
15
target: rect
16
x: 200
17
}
18
}
19
}