[MeeGo-touch-dev] Does MTF support animation when switching between MLinearLayoutPolicy?
Sergiy.Dubovik at nokia.com
Sergiy.Dubovik at nokia.com
Tue Sep 14 23:27:46 PDT 2010
Hi,
First of all it shouldn't flicker. So please file a bug.
Second, yes there is animation support for MLayout. Check MLayout::setAnimation, MBasicLayoutAnimation. Also search for classes which inherit from MLayoutAnimation. I think there should be one which is even stylable from css.
:sergiy
On Sep 15, 2010, at 9:20 AM, ext Zhao, Forrest wrote:
Hi experts,
Let me first describe the issue I met.
The below code segment shows the normal usage of MLinearLayoutPolicy,
……
layout = new MLayout(container);
layoutPolicy1 = new MLinearLayoutPolicy(layout, Qt::Vertical);
layoutPolicy1->addItem(button1);
layoutPolicy2 = new MLinearLayoutPolicy(layout, Qt::Vertical);
layoutPolicy2->addItem(button2);
……
If (case1)
layoutPolicy1 ->activate();
……
if (case2)
layoutPolicy2 ->activate();
……
I found that when switching between layoutPolicy1 and layoutPolicy2, it’s flickering on the screen, that is not very nice.
So my question is, is there a way in MTF to set the animation effect (e.g. fade in/out, slide in/out) when switching between MLinearLayoutPolicy?
Thanks,
Forrest
<ATT00001..txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.meego.com/pipermail/meego-touch-dev/attachments/20100915/97276745/attachment-0001.html>
More information about the MeeGo-touch-dev
mailing list