projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativestates
/
data
/
fakeExtension.qml
1
import QtQuick 1.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: "green"
13
extend: "blue"
14
PropertyChanges { target: myRectangle; color: "green" }
15
}]
16
}