projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativebehaviors
/
data
/
scripttrigger.qml
1
import QtQuick 1.0
2
Rectangle {
3
width: 400
4
height: 400
5
6
onColorChanged: {
7
rect.x = 200
8
}
9
10
Rectangle {
11
id: rect
12
objectName: "MyRect"
13
width: 100; height: 100; color: "green"
14
Behavior on x { NumberAnimation { duration: 800; } }
15
}
16
}