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