QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git] / tests / auto / quick / qquickstates / data / script.qml
1 import QtQuick 2.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 }