Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativestates / data / unnamedWhen.qml
1 import QtQuick 1.0
2
3 Rectangle {
4     id: theRect
5     property bool triggerState: false
6     property string stateString: ""
7     states: State {
8         when: triggerState
9         PropertyChanges {
10             target: theRect
11             stateString: "inState"
12         }
13     }
14 }