Results 1 to 5 of 5

Thread: Geometry of QWebElement

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Geometry of QWebElement

    I would assume the page didn't have time to layout itself yet so height of the element was not calculated yet. I would wait for the QWebFrame::initialLayoutCompleted() signal before checking geometry.
    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.


  2. The following user says thank you to wysota for this useful post:

    TeeT (17th April 2015)

Similar Threads

  1. how to draw on a QWebElement
    By 26_zhang@163.com in forum Qt Programming
    Replies: 1
    Last Post: 24th June 2014, 02:25
  2. Set html <style> with QWebElement
    By poser in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2014, 17:31
  3. QWebElement render problem
    By Vaterland in forum Qt Programming
    Replies: 0
    Last Post: 23rd March 2012, 23:36
  4. QWebElement evaluateJavaScript problem
    By Talei in forum Newbie
    Replies: 0
    Last Post: 10th March 2011, 04:38
  5. Dynamically create SVG with QWebElement
    By yawar in forum Qt Programming
    Replies: 0
    Last Post: 11th April 2010, 03:53

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.