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