PDA

View Full Version : QGraphicsItem does not update



zgulser
5th February 2009, 14:25
Hi,

I have a QGraphicsItem. In this QGraphicsItem, I have some other QGraphicsRectItem and QGraphicsLineItem. So the QGraphicsItem is the parent of QGraphicsRectItem and QGraphicsLineItem. My problem appears when I attempt to redraw upon a position change in the parent. Once I change the position and update, the parent item does not appear!

Regards

zgulser
5th February 2009, 15:44
Hi,

I solved the problem. by the way I noticed that setPos calls it's own update or something like that.

Regards