可以把 QML 類型導入應用程序,使用以下 import 語句在 .qml 文件:
import QtWebEngine 1.10
要鏈接到模塊,添加以下 QT 變量到 qmake .pro 文件:
QT += webengine
| A request for providing authentication credentials required by proxies or HTTP servers | |
| 用於通過用戶選擇顔色的請求 | |
| 用於展示上下文菜單的請求 | |
| A request for letting the user choose a (new or existing) file or directory | |
| A utility type for encapsulating the result of a string search on a page | |
| A utility type for the WebEngineView::fullScreenRequested() signal | |
| A request for showing an alert, a confirmation, or a prompt dialog from within JavaScript to the user | |
| A utility type for the WebEngineView::quotaRequested() signal | |
| Type enables accepting or rejecting requests from the registerProtocolHandler API | |
| A request for showing a tooltip to the user | |
| Provides access to the default settings and profiles shared by all web engine views | |
| An action that represents a WebEngineView::WebAction | |
| A utility type for ignoring certificate errors or rejecting erroneous certificates | |
| Represents a client certificate option | |
| Provides a selection of client certificates | |
| 提供下載的有關信息 | |
| Provides data models that represent the history of a web engine page | |
| A data model that represents the history of a web engine page | |
| A utility type for the WebEngineView::loadingChanged signal | |
| Represents a request for navigating to a web page as part of WebEngineView::navigationRequested() | |
| A utility type for the WebEngineView::newViewRequested signal | |
| 封裝 HTML5 Web 通知數據 | |
| Contains settings, scripts, and visited links common to multiple web engine views | |
| Enables the programmatic injection of scripts in the JavaScript engine | |
| Allows configuration of browser properties and attributes | |
| A WebEngineView renders web content within a QML application |