Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QWebView - createWindow - additional Parameters

    QtWebEngine
    1
    1
    336
    Loading More Posts
    • 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
      matze42 last edited by

      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 Reply Quote 0
      • First post
        Last post