[Qt-interest] How can I implement an animation effect on ARM2440?
Jan
janusius at gmx.net
Fri Jul 10 11:09:26 CEST 2009
Hi,
maybe a usefull example?:
http://benjamin-meyer.blogspot.com/2006/09/drill-down-view.html
Kermit Mei schrieb:
> Hello community!
>
> I want to implement some animation effect on ARM2440(CPU 400 MHZ).
> For example, if I change to the next page, the new widget should be
> shown moving from left to right.
>
> Now, My implementation is as this:
>
> 1. use pixmap grab the widget which I want to show;
> 2. create a temp widget, and draw the pixmap on it; Here, I use the
> timerEvent to draw the pixmap as if it is moved from left to right.
> 3. kill the timer, hide the temp widget,and show the real widget on it.
>
> But, my manager said that it looks a little slowly. The effect is not
> very well. Then how can I implement it? Are there some more highly
> efficient ways? QAnimation class looks more slow than it.
>
> Thanks for help.
>
> Kermit Mei
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list