tests/auto/declarative/qdeclarativebehaviors/data/startup2.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: 800;
       
     5     height: 480;
       
     6 
       
     7     Text { id:theText; text: "hello world" }
       
     8 
       
     9     Rectangle {
       
    10         objectName: "innerRect"
       
    11         color: "red"
       
    12         x: theText.width
       
    13         Behavior on x { NumberAnimation {} }
       
    14         width: 100; height: 100
       
    15     }
       
    16 }