Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QWebView - createWindow - additional Parameters
Forum Update on Monday, May 27th 2025

QWebView - createWindow - additional Parameters

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 443 Views
  • 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.
  • M Offline
    M Offline
    matze42
    wrote on 13 Mar 2017, 15:13 last edited by
    #1

    Hi All,

    I have an issue with QWebView (still using Qt5.5, but at a first glance the API doesn't differ from Qt5.8), where in a web-app window.open in a script is used with additional parameters.
    Requested is a WebModalDialog.
    From w3schools:
    window.open(URL, name, specs, replace)
    The virtual protected counterpart in QWebView is:
    virtual QWebView * createWindow(QWebPage::WebWindowType type)
    Unfortunately this does not take the additional parameters specs and replace.
    We need this, as dependent of what is opened in the dialog, the size may vary, which is passed in the specs parameter.

    Any clue how to access those parameters.
    Thanks in Advance,
    Martin

    1 Reply Last reply
    0

    1/1

    13 Mar 2017, 15:13

    • Login

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