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
/
illegalTempState.qml
1
import QtQuick 2.0
2
3
Rectangle {
4
id: card
5
width: 100; height: 100
6
7
states: [
8
State {
9
name: "placed"
10
PropertyChanges { target: card; state: "idle" }
11
},
12
State {
13
name: "idle"
14
}
15
]
16
17
MouseArea {
18
anchors.fill: parent
19
onClicked: card.state = "placed"
20
}
21
}