Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativestates / data / signalOverride.qml
1 import QtQuick 1.0
2 import Qt.test 1.0
3
4 MyRectangle {
5     id: rect
6
7     onDidSomething: color = "blue"
8
9     width: 100; height: 100
10     color: "red"
11     states: State {
12         name: "green"
13         PropertyChanges {
14             target: rect
15             onDidSomething: color = "green"
16         }
17     }
18 }