QWebView - createWindow - additional Parameters



  • 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


Log in to reply
 

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