hello
i want to destroy a rectangle in qml by animation(like hiding) like this
animation.start();
rec.destroy();
but after running… this rectangle (rec) will be destroyed before that animation ending
this is my animation code
PropertyAnimation {id:animation ;target: rec; property: “opacity”; to: 0 }
i think my problem will be solved by a delay function or something like that
please help me!!
↧