[MeeGo-touch-dev] how to use QPainter on meego
dianming.hu at gmail.com
Mon Sep 27 01:44:10 PDT 2010
thanks a lot for your help.
i know how to use QPainter with QWidget;
but now i want to use it with QGraphicsWidget,
QGraphicsWidget is not one of QPaintDevice,
so i can not paint my pictures on MImageWidget(QGraphicsWidget),
only can be used is MImageWidget::setImage(QImage) and
MImageWidget::setPixmap(QPixmap) , but that methods is very poor in
2010/9/27 서영진 <valentis at chollian.net>
> If you want to use QPainter on QWidget, you should use it in
> QWidget::paintEvent(QPaintEvent*) function.
> You can check it on nokia web page.
> Yours sincelary
> --------------- Original message -------------
> From : dianming.hu at gmail.com
> To : meego-touch-dev at meego.com
> CC : @
> Date : Mon, 27 Sep 2010 14:46:41 +0900 (KST), Mon, 27 Sep 2010 13:46:35
> Subject : [MeeGo-touch-dev] how to use QPainter on meego
> I have to use QPainter in the MImageWidget(QGraphicsWidget) to play
> continuous QImage, i had try a lot, but it's still not worked,� if you know
> about that, please do me a favor, thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MeeGo-touch-dev