[Interest] Drawing artifacts when scrolling QGraphicsView on OS X
pisoengracia at gmail.com
Fri Jun 8 14:19:06 CEST 2012
Just a clue, without looking at your code : ensure your tooltip's
bounding rect is greater than the tooltip itself. I mean ALL the
tooltip, text and grey-box-background.
This error appears when you don't take care of this. QGraphicsView only
invalidates the rect returned by the method you (may) have overloaded in
your custom class :
QRectF QGraphicsItem::boundingRect () const
So first, try to make this QRectF a little bit bigger. Looking at the
screenshot it seems is smaller than it must...
More information about the Interest