projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e46e98f75e5ae07e9d38e445404d155aadfe6828
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qtquick2
/
qdeclarativestates
/
data
/
basicChanges3.qml
1
import QtQuick 2.0
2
Rectangle {
3
id: myRectangle
4
width: 100; height: 100
5
color: "red"
6
states: [
7
State {
8
name: "blue"
9
PropertyChanges { target: myRectangle; color: "blue" }
10
},
11
State {
12
name: "bordered"
13
PropertyChanges { target: myRectangle; border.width: 2 }
14
}]
15
}