PDA

View Full Version : How to erase everything widget has painted?



TheNewGuy
11th December 2009, 23:48
I have a transparent webview that has the following problem:

1) on widget show: image is displayed

2) image is deleted and widget is hidden

3) widget is shown again (remember, the widget contains nothing now... It should just be a transparent canvas) and previous image flickers for a second prior to showing what is expected (a transparent canvas).

So, I need a way to prevent that flicker... Does anyone know how?

wagmare
12th December 2009, 07:23
in paintEvent erase option is there ...
painter->eraseRect(rect());