PDA

View Full Version : How to render a QGraphicsItem to a QPixmap?



theodolite
30th July 2010, 12:57
Hi all,

I want to do some overpainting over QGraphicsItem, when implement paint(), process the QGraphicsItem's original rect (like scale) to the QGraphicsItem's right bottom corner.

There is no method like QWidget::render, so I have to handle the child offset by myself? Or is there any better way to do this?