QWebEngineLoadingInfo — PyQt Documentation v6.9.0 (original) (raw)
PyQt6.QtWebEngineCore.QWebEngineLoadingInfo
Description¶
A utility type for the WebEngineView::loadingChanged signal.
Contains information about a web page loading status change, such as the URL and current loading status (started, succeeded, stopped, failed).
Enums¶
ErrorDomain
This enumeration holds the type of a load error:
Member | Value | Description |
---|---|---|
CertificateErrorDomain | 3 | Error is related to the SSL/TLS certificate. |
ConnectionErrorDomain | 2 | Error results from a faulty network connection. |
DnsErrorDomain | 6 | Error is related to the DNS connection. |
FtpErrorDomain | 5 | Error is related to the FTP connection. |
HttpErrorDomain | 4 | Error is related to the HTTP connection. |
HttpStatusCodeDomain | 7 | Error is the HTTP response status code, even in case of success e.g. the server replied with status 200. |
InternalErrorDomain | 1 | Content cannot be interpreted by Qt WebEngine. |
NoErrorDomain | 0 | Error type is not known. |
LoadStatus
This enumeration represents the load status of a web page load request:
Member | Value | Description |
---|---|---|
LoadFailedStatus | 3 | Page could not be loaded. |
LoadStartedStatus | 0 | Page is currently loading. |
LoadStoppedStatus | 1 | Loading the page was stopped by the stop() method or by the loader code or network stack in Chromium. |
LoadSucceededStatus | 2 | Page has been loaded with success. |
Methods¶
__init__(QWebEngineLoadingInfo)
TODO
errorCode() → int
TODO
errorDomain() → ErrorDomain
TODO
errorString() → str
TODO
isDownload() → bool
TODO
isErrorPage() → bool
TODO
TODO
status() → LoadStatus
TODO
url() → QUrl
Returns the URL of the load request.