[Qt-interest] How to show a QPixmap on widget?
Kermit Mei
kermit.mei at gmail.com
Wed Jun 17 07:09:53 CEST 2009
Hello, all!
I need to make some animation on the widget for my users on ARM. As you
see, for the reason of efficiency, I can't use Graphic and QAnimation
class.
So, I want to use QPixmap grapWidget(...) grab the new widget which I
want to show, and do some animation on this QPixmap object. After this,
I will display the real widget.
But I don't know how to show a QPixmap except paint it with QPainter,
this method must work in paintEvent(), I don't know how to do it with
QTimeLine, and make a animation.
Everything for me must consider with its highly efficiency, I hope
anyone can give me some good ideas to do it.
Thank you, very much!
Kermit
More information about the Qt-interest-old
mailing list