[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] problem updating pixmap draw
From: gianlum <gianlum () email ! it>
Date: 2004-10-28 12:31:54
Message-ID: 200410281431.54832.gianlum () email ! it
[Download RAW message or body]
Hello.
I am developing an application that need to draw some lines (NACA profiles in
fact) using pyqt and qt-designer.
I begin using a PixmapLabel for the drawing area, now (after some research on
google) i use a frame.
As I find in the documentation, to draw my polyline I implemented the
paintEvent method and this is ok.
The problem is when I resize the window or the program goes under another
windows.
In the first case, i try to implement also the resizeEvent but the result is
that I have a flickering update and sometimes after a resize I don't see
nothing. In the second case the PixmapLabel and also the frame where not
repainted when the application get the focus, since the paintEvent where not
called. What signal I must intercept ? Any suggetion ?
thanks in advance.
Gianluca
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Zuritel Rc auto. Assaggia il frutto del risparmio. Prezzo tagliato Pił garanzie. \
Clicca qui per un preventivo gratuito. Clicca qui: \
http://adv.email.it/cgi-bin/foclick.cgi?mid=2814&d=28-10
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic