Qt WebEngine Core C++ 類

提供共享公共 API 由 QtWebEngineQuick and QtWebEngineWidgets . 更多...

名稱空間

QWebEngineGlobalSettings

保持 Web 引擎的全局設置

QWebEngineCertificateError

證書錯誤有關信息

QWebEngineClientCertificateSelection

包裹客戶端證書選定的 QWebEngineClientCertSelection 類

QWebEngineClientCertificateStore

用於客戶端證書的在內存存儲

QWebEngineClientHints

Object to customize User-Agent Client Hints used by a profile

QWebEngineContextMenuRequest

Request for populating or extending a context menu with actions

QWebEngineCookieStore

訪問 Chromium 的 Cookie

QWebEngineCookieStore::FilterRequest

QWebEngineCookieStore::FilterRequest 結構被用於結閤 QWebEngineCookieStore::setCookieFilter(),且是 filterCallback 操作類型

QWebEngineDesktopMediaRequest

A request for populating a dialog with available sources for screen capturing

QWebEngineDownloadRequest

關於下載信息

QWebEngineExtensionInfo

Information about a browser extension

QWebEngineExtensionManager

Allows applications to install and load Chrome extensions from the filesystem

QWebEngineFileSystemAccessRequest

Enables accepting or rejecting requests for local file system access from JavaScript applications

QWebEngineFindTextResult

封裝頁麵搜索字符串結果

QWebEngineFrame

Gives information about and control over a page frame

QWebEngineFullScreenRequest

啓用接受 (或拒絕) 進入和退齣全屏模式請求

QWebEngineGlobalSettings::DnsMode

Struct provides means to specify the DNS host resolution mode

QWebEngineHistory

錶示 Web 引擎頁麵的曆史

QWebEngineHistoryItem

錶示一項 Web 引擎頁麵曆史

QWebEngineHistoryModel

A data model that represents the history of a web engine page

QWebEngineHttpRequest

保持要采用 WebEngine 發送的請求

QWebEngineLoadingInfo

A utility type for the WebEngineView::loadingChanged signal

QWebEngineNavigationRequest

A utility type for the QWebEnginePage::navigationRequested signal

QWebEngineNewWindowRequest

A utility type for the QWebEnginePage::newWindowRequested() signal

QWebEngineNotification

封裝 HTML5 Web 通知數據

QWebEnginePage

用於查看和編輯 Web 文檔的對象

QWebEnginePermission

A QWebEnginePermission is an object used to access and modify the state of a single permission that's been granted or denied to a specific origin URL

QWebEngineProfile

由多個頁麵共享的 Web 引擎 Profile (配置文件)

QWebEngineProfileBuilder

Way to construct QWebEngineProfile

QWebEngineRegisterProtocolHandlerRequest

使能夠接受或拒絕請求,來自 registerProtocolHandler API

QWebEngineScript

封裝 JavaScript 程序

QWebEngineScriptCollection

錶示一批用戶腳本

QWebEngineSettings

用於 QWebEnginePage 的設置存儲對象

QWebEngineUrlRequestInfo

URL 請求的有關信息

QWebEngineUrlRequestInterceptor

用於 URL 攔截的抽象基類

QWebEngineUrlRequestJob

錶示自定義 URL 請求

QWebEngineUrlScheme

配置自定義 URL 方案

QWebEngineUrlSchemeHandler

用於處理自定義 URL 方案的基類

QWebEngineWebAuthPinRequest

Encapsulates the data of a PIN WebAuth UX request

QWebEngineWebAuthUxRequest

Encapsulates the data of a WebAuth UX request

詳細描述

若使用 qmake 去構建工程,通常間接包括 Qt WebEngine Core,透過 Qt WebEngine Quick or Qt WebEngine Widgets 模塊。

To link against the module using build with qmake, add this line to your qmake project file:

QT += webenginecore
						

不管怎樣, webenginecore 被隱含添加通過 webenginequick or webenginewidgets .

為采用 CMake 構建,使用 find_package() 命令以定位 Qt6 包中需要的模塊組件和 target_link_libraries() 以鏈接到模塊:

find_package(Qt6 REQUIRED COMPONENTS WebEngineCore)
target_link_libraries(target PRIVATE Qt6::WebEngineCore)