projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update to 5.0.0-beta1
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
quick
/
qquickstates
/
data
/
signalOverrideCrash3.qml
1
import QtQuick 2.0
2
3
Rectangle {
4
id: myRect
5
width: 400
6
height: 400
7
8
onHeightChanged: console.log("base state")
9
10
states: [
11
State {
12
name: "state1"
13
PropertyChanges {
14
target: myRect
15
onHeightChanged: console.log("state1")
16
color: "green"
17
}
18
},
19
State {
20
name: "state2";
21
PropertyChanges {
22
target: myRect
23
onHeightChanged: console.log("state2")
24
color: "red"
25
}
26
}]
27
}