projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Extract all QtQuick 1 elements into a separate library/plugin.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativestates
/
data
/
extendsBug.qml
1
import QtQuick 2.0
2
3
Rectangle {
4
width: 200
5
height: 200
6
7
Rectangle {
8
id: rect
9
objectName: "greenRect"
10
width: 100
11
height: 100
12
color: "green"
13
}
14
15
states:[
16
State {
17
name: "a"
18
PropertyChanges { target: rect; x: 100 }
19
},
20
State {
21
name: "b"
22
extend:"a"
23
PropertyChanges { target: rect; y: 100 }
24
}
25
]
26
}