tests/auto/declarative/qdeclarativestates/data/reset.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 
       
     3 Rectangle {
       
     4     width: 640
       
     5     height: 480
       
     6     Text {
       
     7         id: theText
       
     8         width: 40
       
     9         wrapMode: Text.WordWrap
       
    10         text: "a text string that is longer than 40 pixels"
       
    11     }
       
    12 
       
    13     states: State {
       
    14         name: "state1"
       
    15         PropertyChanges {
       
    16             target: theText
       
    17             width: undefined
       
    18         }
       
    19     }
       
    20 }