Hi all,
When i override the paintEvent of QWebView which inherts QWidget, i found that the paintEvent was consecutively called twice before the widget is shown on screen.
So my question is how to distinguish these two events, anybody help? Thanks!
Btw, i found the first event drawing the background, while the second rendering DOM elements of the webpage, using the same paintEvent.
Bookmarks