Files correlati : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe Bug : Commento: Merge 1.0 libraries
22 lines
354 B
QML
22 lines
354 B
QML
import QtQuick 1.0
|
|
|
|
Rectangle {
|
|
id: card
|
|
width: 100; height: 100
|
|
|
|
states: [
|
|
State {
|
|
name: "placed"
|
|
PropertyChanges { target: card; state: "idle" }
|
|
},
|
|
State {
|
|
name: "idle"
|
|
}
|
|
]
|
|
|
|
MouseArea {
|
|
anchors.fill: parent
|
|
onClicked: card.state = "placed"
|
|
}
|
|
}
|