if "QPropertyAnimation animation(item0, "pos");" is in a function then it is auto destroyed at the function end.

it works! now

thanks