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.
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.
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.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks