WebEngineLoadRequest QML Type
A utility type for the WebEngineView::loadingChanged signal. 更多...
Import Statement: | import QtWebEngine 1.5 |
开始支持版本: | QtWebEngine 1.0 |
属性
- errorCode : int
- errorDomain : enumeration
- errorString : string
- status : enumeration
- url : url
详细描述
Contains information about a request for loading a web page, such as the URL and current loading status (started, succeeded, failed).
参见 WebEngineView::loadingChanged.
属性
This enumeration holds the type of a load request error:
Constant | Description |
---|---|
WebEngineView.NoErrorDomain | Error type is not known. |
WebEngineView.InternalErrorDomain | Content cannot be interpreted by Qt WebEngine. |
WebEngineView.ConnectionErrorDomain | Error results from a faulty network connection. |
WebEngineView.CertificateErrorDomain | Error is related to the SSL/TLS certificate. |
WebEngineView.HttpErrorDomain | Error is related to the HTTP connection. |
WebEngineView.FtpErrorDomain | Error is related to the FTP connection. |
WebEngineView.DnsErrorDomain | Error is related to the DNS connection. |
This enumeration represents the load status of a web page load request:
Constant | Description |
---|---|
WebEngineLoadRequest.LoadStartedStatus | Page is currently loading. |
WebEngineLoadRequest.LoadSucceededStatus | Page has been loaded with success. |
WebEngineLoadRequest.LoadFailedStatus | Page could not be loaded. |
url : url |
Holds the URL of the load request.