<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtwebengine-qmlmodule.qdoc --> <title>Qt WebEngine QML Types | Qt WebEngine 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtwebengine-index.html">Qt WebEngine</a></td><td >Qt WebEngine QML Types</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtwebengine-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt WebEngine QML Types</h1> <span class="subtitle"></span> <!-- $$$QtWebEngine-description --> <div class="descr"> <a name="details"></a> <p>The QML types can be imported into your application using the following import statements in your .qml file:</p> <pre class="cpp plain"> import QtWebEngine 1.8 </pre> <p>To link against the module, add the following QT variable to your qmake .pro file:</p> <pre class="cpp plain"> QT += webengine </pre> </div> <!-- @@@QtWebEngine --> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-authenticationdialogrequest.html">AuthenticationDialogRequest</a></p></td><td class="tblDescr"><p>A request for providing authentication credentials required by proxies or HTTP servers</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-colordialogrequest.html">ColorDialogRequest</a></p></td><td class="tblDescr"><p>A request for selecting a color by the user</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-contextmenurequest.html">ContextMenuRequest</a></p></td><td class="tblDescr"><p>A request for showing a context menu</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-filedialogrequest.html">FileDialogRequest</a></p></td><td class="tblDescr"><p>A request for letting the user choose a (new or existing) file or directory</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-fullscreenrequest.html">FullScreenRequest</a></p></td><td class="tblDescr"><p>A utility type for the WebEngineView::fullScreenRequested() signal</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-javascriptdialogrequest.html">JavaScriptDialogRequest</a></p></td><td class="tblDescr"><p>A request for showing an alert, a confirmation, or a prompt dialog from within JavaScript to the user</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-quotarequest.html">QuotaRequest</a></p></td><td class="tblDescr"><p>A utility type for the WebEngineView::quotaRequested() signal</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-registerprotocolhandlerrequest.html">RegisterProtocolHandlerRequest</a></p></td><td class="tblDescr"><p>Type enables accepting or rejecting requests from the registerProtocolHandler API</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webengine.html">WebEngine</a></p></td><td class="tblDescr"><p>Provides access to the default settings and profiles shared by all web engine views</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webengineaction.html">WebEngineAction</a></p></td><td class="tblDescr"><p>An action that represents a WebEngineView::WebAction</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webenginecertificateerror.html">WebEngineCertificateError</a></p></td><td class="tblDescr"><p>A utility type for ignoring certificate errors or rejecting erroneous certificates</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webenginedownloaditem.html">WebEngineDownloadItem</a></p></td><td class="tblDescr"><p>Provides information about a download</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webenginehistory.html">WebEngineHistory</a></p></td><td class="tblDescr"><p>Provides data models that represent the history of a web engine page</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webenginehistorylistmodel.html">WebEngineHistoryListModel</a></p></td><td class="tblDescr"><p>A data model that represents the history of a web engine page</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webengineloadrequest.html">WebEngineLoadRequest</a></p></td><td class="tblDescr"><p>A utility type for the WebEngineView::loadingChanged signal</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webenginenavigationrequest.html">WebEngineNavigationRequest</a></p></td><td class="tblDescr"><p>Represents a request for navigating to a web page as part of WebEngineView::navigationRequested()</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webenginenewviewrequest.html">WebEngineNewViewRequest</a></p></td><td class="tblDescr"><p>A utility type for the WebEngineView::newViewRequested signal</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webengineprofile.html">WebEngineProfile</a></p></td><td class="tblDescr"><p>Contains settings, scripts, and visited links common to multiple web engine views</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webenginescript.html">WebEngineScript</a></p></td><td class="tblDescr"><p>Enables the programmatic injection of scripts in the JavaScript engine</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webenginesettings.html">WebEngineSettings</a></p></td><td class="tblDescr"><p>Allows configuration of browser properties and attributes</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtwebengine-webengineview.html">WebEngineView</a></p></td><td class="tblDescr"><p>A WebEngineView renders web content within a QML application</p></td></tr> </table></div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>