Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.7.1
-
Mac OS 10.5/Cocoa
Description
In the following example I only want to animate the background, not the border. I feel that I'm quite specific about this in the animation, but it animates the border anyway (unless I put the border in the exclude list)
import Qt 4.7 Rectangle { id: root width:300; height:200 border.width: 50 states: [ State { when: focus PropertyChanges { target: root color: "brown" border.color: "blue" } } ] transitions: Transition { ColorAnimation { target: root // exclude: border property: "color" duration: 1000 } } MouseArea { anchors.fill: parent onClicked: root.focus = true } }