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
/
attachedPropertyChanges.qml
1
import Qt.test 1.0
2
import QtQuick 1.0
3
4
Item {
5
id: item
6
width: 100; height: 100
7
MyRectangle.foo: 0
8
9
states: State {
10
name: "foo1"
11
PropertyChanges {
12
target: item
13
MyRectangle.foo: 1
14
width: 50
15
}
16
}
17
18
Component.onCompleted: item.state = "foo1"
19
}
20