Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62962
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-01-01 06:53 -0800 |
| Message-ID | <396bc9f8-2ed6-4ebf-853d-a50e3c7ce521@googlegroups.com> (permalink) |
| Subject | Retaining drawing across paintevents |
| From | angedward3@gmail.com |
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.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Retaining drawing across paintevents angedward3@gmail.com - 2014-01-01 06:53 -0800 Re: Retaining drawing across paintevents Chris Angelico <rosuav@gmail.com> - 2014-01-02 02:05 +1100
csiph-web