tests/auto/declarative/qdeclarativestates/data/basicBinding3.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     2 Rectangle {
       
     3     id: myRectangle
       
     4 
       
     5     property color sourceColor: "red"
       
     6     property color sourceColor2: "blue"
       
     7     width: 100; height: 100
       
     8     color: sourceColor
       
     9     states: State {
       
    10         name: "blue"
       
    11         PropertyChanges { target: myRectangle; color: sourceColor2 }
       
    12     }
       
    13 }