[Qt-qml] How to animate an item moving between layouts
Harald Hvaal
harald.hvaal at gmail.com
Sun Dec 11 09:38:32 CET 2011
On Sun, Dec 11, 2011 at 1:27 AM, Artem Marchenko
<artem.marchenko at gmail.com> wrote:
> A brute force solution would be to reparent your box temporarily to the
> higher level item, calculate source and target coords in this higher level
> item, animate and reparent to the target layout once animation is finished.
> Could, however, be problematic if you want to insert the item into a middle
> of a row.
I have also thought of this, but it would to me never be a solution
because you're not supposed to be guessing from the outside where the
layout will put your item.
Harald Hvaal
harald.hvaal at gmail.com
More information about the Qt-qml
mailing list