tests/auto/declarative/qdeclarativestates/data/unnamedWhen.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     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 }