Qt-interest Archive, March 2002
Resizing optimization
Message 1 in thread
Hi Everybody,
I have widget class which is derived from QWidget class. In the
paintevent(..) of my class
I draw millions of polygons after reading the end points or the vertices
from a flatfile.
and those polygons Iam able to draw also.but again its obvious that on
resizing the window my paint event will be called,thats OK, but What I want
is whwn I am resizing the window,
the drawing should only be done when after dragging the window i leave that
window,I have even tried capturing the mouse events,but i have seen that at
the tip or at the edge of the window from where one resizes the window(i.e
the place where the cursor icon changes to 2 head arrow, I dont get mouse
events on that place,So plz tell me how can I achieve this
functionality of drawing, only after I leave dragging the Mouse.
Thanks and Regards
Abhay Singh
For Knights Techology