blob: e6b602013e8bbf9727df93911bdb577f6b0497f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
import Qt 4.7
Rectangle {
id: container
color: "red"
height: 200
width: 200
Column {
id: column
objectName: "column"
anchors.left: container.right
anchors.bottom: container.bottom
Rectangle {
id: rectangle
color: "blue"
height: 100
width: 200
}
Rectangle {
color: "blue"
height: 100
width: 200
}
}
states: State {
name: "reanchored"
AnchorChanges {
target: column
anchors.left: undefined
anchors.right: container.right
}
PropertyChanges {
target: rectangle
opacity: 0
}
}
}
|