Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 7

Qt-interest Archive, April 2007
QWidget::update() and QRectF, QPainterPath


Message 1 in thread

I have a bunch of rectangular items that use QRectF for floating-point
accuracy, I am having trouble getting the correct QRect or QRegion to
pass to QWidget::update() to ensure that only the area they cover are
updated. I am painting with antialiasing disabled.

From another angle, what if I can generate a QPainterPath of what I
want to paint and I just want to call update with the area of the path
as a parameter?

thanks

-- 
 [ signature omitted ]