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_Premultiplied);
pixe
= QPixmap::fromImage(image_Radar
);
scene->addPixmap(pixe);
image_Radar = QImage (get_bmap,512,512,QImage::Format_ARGB32_Premultiplied);
pixe = QPixmap::fromImage(image_Radar);
scene->addPixmap(pixe);
To copy to clipboard, switch view to plain text mode
Bookmarks