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



  • 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?



  • 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

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.