15 onClicked: if (wrapper.state == "state1") wrapper.state = ""; else wrapper.state = "state1";
20 PropertyChanges { target: myRect; x: 200; color: "blue" }
22 transitions: Transition {
23 PropertyAnimation { properties: "x,color"; duration: 1000 } //x is real, color is color