Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QWebView as child widget. Page position problem.
Forum Updated to NodeBB v4.3 + New Features

QWebView as child widget. Page position problem.

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 1 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    serpulga
    wrote on last edited by
    #1

    Hello,

    I'm trying to add a QWebView, on top of another QWebView as a child widget:

    @ QRect geometry(x, y, height, width);
    QWebViewer * subWindow = new QWebViewer(this);
    subWindow->setGeometry(geometry);
    subWindow->load(QUrl(url));
    subWindow->show();@

    The new child widget is placed as expected. However, everytime I load
    a website, the upper left corner of the page changes position like this:

    "Image here":http://dl.dropbox.com/u/46347178/Untitled.png

    The initial position of the child viewer is correct, but after multiple loads,
    the window ends up looking like that.

    I wonder if anyone has come across this issue, and hopefully had found
    a way to fix it.

    Thank you,

    Sergio

    1 Reply Last reply
    0
    • S Offline
      S Offline
      serpulga
      wrote on last edited by
      #2

      I updated the libraries and the problem was gone.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved