Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativestates / data / explicit.qml
1 import QtQuick 1.0
2 Rectangle {
3     id: myRectangle
4     property color sourceColor: "blue"
5     width: 100; height: 100
6     color: "red"
7     states: State {
8         name: "blue"
9         PropertyChanges {
10             objectName: "changes"
11             target: myRectangle; explicit: true
12             color: sourceColor
13         }
14     }
15 }