philentropist
17th January 2007, 08:37
Resizing a QGraphicsItem seems to cause trouble when it is displayed on a QGraphicsView. It causes some nasty artifacts, here's a screenshot:
http://homepage.mac.com/philentropist/artifact.png
It looks like Qt is clearing the area in the bounding rectangle of the item right before a paint. Unfortunately, if the bounding rectangle has changed since the last paint, not all the area in the old bounding rectangle gets cleared. Does anyone know a way around this?
http://homepage.mac.com/philentropist/artifact.png
It looks like Qt is clearing the area in the bounding rectangle of the item right before a paint. Unfortunately, if the bounding rectangle has changed since the last paint, not all the area in the old bounding rectangle gets cleared. Does anyone know a way around this?