Retaining drawing across paintevents

angedward3 at gmail.com angedward3 at gmail.com
Wed Jan 1 09:53:48 EST 2014


Hi all,

I am sub-classing the paintevent at the moment to create a 2D plot.

I find that I have to re-paint the whole widget every time I call an update(), as I have create a new QPainter() instance. Is there a way to update only a small part of the widget, while retaining the rest of the widget?

Thanks in advance
Ed

BTW if this is the wrong forum to post this, pls let me know.



More information about the Python-list mailing list