Extract all QtQuick 1 elements into a separate library/plugin.
[profile/ivi/qtdeclarative.git] / tests / auto / qtquick1 / qdeclarativestates / data / script.qml
1 import QtQuick 1.0
2 Rectangle {
3     id: myRectangle
4     width: 100; height: 100
5     color: "red"
6     states: State {
7         name: "blue"
8         StateChangeScript { script: myRectangle.color = "blue"; }
9     }
10 }