[Qt-interest] [4.5 BUG] QGraphicsSimpleTextItem update

Alexis Ménard alexis.menard at trolltech.com
Wed Apr 15 14:29:41 CEST 2009


On Wednesday 15 April 2009 12:34:56 Mihail Naydenov wrote:
> Right now if a the text, displayed with QGraphicsSimpleTextItem is chaged
> (setText()) AND the old and the new texts, both have the same bounding
> rect, the Item is not updated (repainted):
>
> if (br != boundingRect) {
> q->prepareGeometryChange();
> boundingRect = br;
> q->update();
> }
>

Fixed. It will be in 4.5.1.

> This is a bug, because in many situations two strings can have the same
> rect, but be different *especially* with numbers!
>
> MihailNaydenov
>
>
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest

-- 

Alexis Ménard
Software Engineer, Widgets Team 1
Qt Software, Nokia Norge AS, Sandakerveien 116, 0484 Oslo, Norway
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090415/43cdf9ec/attachment.html 


More information about the Qt-interest-old mailing list