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

Qt-interest Archive, September 1998
Re: flicker during resizing


Message 1 in thread


Marko Macek <markom@stealth.fri.uni-lj.si>
> 
> This IS a Qt problem. The problem is that Qt sets the background
> color of the window. This means that the X server will always clear the
> window background before sending the expose event to the application,
> thus causing unavoidable flickering. Situation could be slightly improved
> if Qt did not set the window background color and manually cleared the
> window in situations where the redraw cannot be optimized not to require
> the clearing the background. 

You can use QWidget::setBackgroundMode( NoBackground ) to avoid having
a background color in the Window.


- Eirik Aa.

-- 
 [ signature omitted ]