You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, January 11th 2013, 4:09pm

animation AFTER widget dropevent

I'm facing an issue over here. I have two columns and I want to drag an item from the first to the second. That's not the hard part, but I want the item to shrink and expand at the moment I drop it in the other column.
I tried to do this animation at the very end of the dropEvent of the column, but the problem is that I have to provide a QRect. When I call geometry() of the item, it returns the geometry of his previous location. Probably because this is an other thread.
Does somebody know a solution to help me out?
I'll appreciate all the help!