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. How can I just display one part of web page use by QWebView?
Forum Updated to NodeBB v4.3 + New Features

How can I just display one part of web page use by QWebView?

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 2 Posters 910 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.
  • R Offline
    R Offline
    Ryan Lee
    wrote on 2 Apr 2018, 01:52 last edited by
    #1

    I want to merge 4 or more screens to show a big web page, so any ideas to show on part of web page use by QWebView or other QWidget?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on 2 Apr 2018, 12:54 last edited by
      #2

      Depending on what you are trying to achieve:

      • You can use QWebFrame::setScrollPosition on main frame to set desired scroll position
      • You can render desired rectangle of page with QWebFrame::render and display resulting image in any way you want
      1 Reply Last reply
      1

      1/2

      2 Apr 2018, 01:52

      • Login

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