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 qtquick2.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qsgpositioners
/
data
/
horizontal-animated.qml
1
import QtQuick 2.0
2
3
Item {
4
width: 640
5
height: 480
6
property bool testRightToLeft: false
7
8
Row {
9
objectName: "row"
10
layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
11
add: Transition {
12
NumberAnimation {
13
properties: "x";
14
}
15
}
16
move: Transition {
17
NumberAnimation {
18
properties: "x";
19
}
20
}
21
Rectangle {
22
objectName: "one"
23
color: "red"
24
x: -100;
25
width: 50
26
height: 50
27
}
28
Rectangle {
29
objectName: "two"
30
color: "blue"
31
x: -100;
32
opacity: 0
33
width: 50
34
height: 50
35
}
36
Rectangle {
37
objectName: "three"
38
x: -100;
39
color: "green"
40
width: 50
41
height: 50
42
}
43
}
44
}