PDA

View Full Version : Painting on demand



devarajdaimane
17th November 2008, 13:36
Hi,

Isn't there anything similar to GetDC() and ReleaseDC() of Windows in Qt that lets us perform painting outside the default paint cycle(paintEvent function)?

Thanks.

high_flyer
17th November 2008, 13:45
Since Qt4 no - you have to do your painting in paintEvent().
Can you explain why you need to draw out side the paint event?
If you describe it I am quite sure a design failure will emerge.