Aniamtion don't run. Console is empty. Variable "collapsedButton" contains value "true", but animation don't start.
I tried this:
import Qt 4.7
Item {
width: 180
height: 60
id: root
property bool collapsedButton: true
(...)
ParallelAnimation {
running:{
if(root.collapsedButton == true){
true
}else{
false
}
NumberAnimation { target: backgroundCallapsed; property: "width"; to: 64 ;}
NumberAnimation { target: background; property: "opacity"; to: 0 }
NumberAnimation { target: text; property: "opacity"; to: 0 }
}
(...)
import Qt 4.7
Item {
width: 180
height: 60
id: root
property bool collapsedButton: true
(...)
ParallelAnimation {
running:{
if(root.collapsedButton == true){
true
}else{
false
}
NumberAnimation { target: backgroundCallapsed; property: "width"; to: 64 ;}
NumberAnimation { target: background; property: "opacity"; to: 0 }
NumberAnimation { target: text; property: "opacity"; to: 0 }
}
(...)
To copy to clipboard, switch view to plain text mode
but aniamtion don't start too.
Bookmarks