Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativestates / data / whenOrdering.qml
1 import QtQuick 1.0
2
3 Rectangle {
4     property bool condition1: false
5     property bool condition2: false
6
7     states: [
8         State { name: "state1"; when: condition1 },
9         State { name: "state2"; when: condition2 }
10     ]
11 }