WebViewLoadRequest QML Type

WebViewloadingChanged() 信号的实用程序类型。更多

Import Statement: import QtWebView

属性

详细说明

WebViewLoadRequest 类型包含所请求 URL 的加载状态信息。

另请参阅 WebView.loadingChanged().

属性文档

errorString : string [read-only]

如果加载请求失败,则保存错误信息。


status : enumeration [read-only]

该枚举表示网页加载请求的加载状态。

常量说明
WebView.LoadStartedStatus页面正在加载。
WebView.LoadSucceededStatus页面加载成功。
WebView.LoadFailedStatus页面无法加载。

另请参阅 WebView.loadingChanged


url : url [read-only]

加载请求的 URL。


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.