blob: 68a9c2a24d4f4844afdf45bbb76940b5cf6205ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import QtQuick 2.0
Rectangle {
id: myRectangle
width: 100; height: 100
color: "red"
StateGroup {
id: stateGroup
states: State {
name: "blue"
PropertyChanges { target: myRectangle; color: "blue" }
}
}
}
|