PDA

View Full Version : Is there any way to order the foreground paint-update on graphics view ?



tonnot
28th November 2011, 19:03
Graphicsview paints first the background, then the layer and last the foreground.
I'd like to use the foreground to draw some dynamic things over the main geometric information, but I dont know how to send an update order only for the foreground.
Any idea ? Thanks

Added after 57 minutes:

I answer myself:
G_scene->invalidate(QRect(),QGraphicsScene::ForegroundLayer );

Excuse me ,,..