Results 1 to 4 of 4

Thread: How can we know that a widget has completed painting or ready to display

  1. #1
    Join Date
    Mar 2013
    Posts
    4
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default How can we know that a widget has completed painting or ready to display

    My browser widget has loaded some webpage.How can i know whether the browser widget has completely loaded the page and finished the drawing or painting.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How can we know that a widget has completed painting or ready to display

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2013
    Posts
    4
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: How can we know that a widget has completed painting or ready to display

    The event QWebFrame::initialLayoutCompleted() is triggered before the first paint event.
    I need a logical point where the paint event of the widget is completed.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How can we know that a widget has completed painting or ready to display

    1. subclass
    2. reimplement paint event
    3. profit
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to know when the server has completed the painting of the widget...??
    By kapoorsudhish in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 16th April 2010, 13:15
  2. Accelerate Widget Painting
    By jpujolf in forum Qt Programming
    Replies: 0
    Last Post: 23rd September 2008, 15:33
  3. Simple ready-to-use widget to display an image
    By sylvaticus in forum Newbie
    Replies: 6
    Last Post: 29th December 2007, 11:22
  4. painting a widget outside a paintEvent
    By jayw710 in forum Qt Programming
    Replies: 1
    Last Post: 25th June 2007, 23:18
  5. Painting outside widget geometry?
    By mbjerkne in forum Qt Programming
    Replies: 2
    Last Post: 8th February 2006, 14:59

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.