projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
quick
/
qquickstates
/
data
/
basicBinding4.qml
1
import QtQuick 2.0
2
Rectangle {
3
id: myRectangle
4
5
property color sourceColor: "blue"
6
width: 100; height: 100
7
color: "red"
8
states: [
9
State {
10
name: "blue"
11
PropertyChanges { target: myRectangle; color: sourceColor }
12
},
13
State {
14
name: "green"
15
PropertyChanges { target: myRectangle; color: "green" }
16
}]
17
}