Results 1 to 7 of 7

Thread: How to distinguish paint events

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Question How to distinguish paint events

    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.
    Last edited by naruto_9w; 17th January 2009 at 15:00.

Similar Threads

  1. QGraphicsView Mouse Events
    By tomf in forum Qt Programming
    Replies: 5
    Last Post: 29th July 2008, 15:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.