tests/auto/declarative/qdeclarativebehaviors/data/scripttrigger.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 Rectangle {
       
     3     width: 400
       
     4     height: 400
       
     5 
       
     6     onColorChanged: {
       
     7         rect.x = 200
       
     8     }
       
     9 
       
    10     Rectangle {
       
    11         id: rect
       
    12         objectName: "MyRect"
       
    13         width: 100; height: 100; color: "green"
       
    14         Behavior on x { NumberAnimation { duration: 800; } }
       
    15     }
       
    16 }