PDA

View Full Version : QGraphicsscene Image drawing



augusbas
4th November 2010, 06:35
Hi all,

I am using QGraphicsscene to display a map and Circles. I need to draw a Radar image on top of this map and circles with transparency enabled, so that i can able to see the map and circles through radar image.

the radar image gets updated in a memory location at every 40 ms..Below is the code on how do i take and try to display the image on the graphicsscene. this method doesn't give me perfect image

How do i draw this image on graphicsscene and update , enable transparency to this image.

Please guide me.



image_Radar = QImage (get_bmap,512,512,QImage::Format_ARGB32_Premultipl ied);

pixe = QPixmap::fromImage(image_Radar);

scene->addPixmap(pixe);

wysota
4th November 2010, 09:38
Could you explain what "perfect image" means?