View Full Version : Take a screenshot of a QGraphicsRectItem

12th October 2009, 14:02
Hello everyone,

How can I take a screenshot of a QGraphicsRectItem item that's located inside a scene, it contains few items inside of it as well, a couple of images, text, and I would like to take a screenshot of everything there, and just save it to file as image, is that possible?

I've looked at the screenshot example, but its not very helpful for me, and I dont know what can be used for this purpose!

Thanks alot,

12th October 2009, 14:14
Try QGraphicsScene::render().