QWebEngineLoadingInfo

A utility type for the loadingChanged signal. More

Inheritance diagram of PySide6.QtWebEngineCore.QWebEngineLoadingInfo

Synopsis

Functions

Detailed Description

Contains information about a web page loading status change, such as the URL and current loading status (started, succeeded, stopped, failed).

See also

loadStarted loadFinished loadingChanged

class PySide6.QtWebEngineCore.QWebEngineLoadingInfo(other)
Parameters

otherPySide6.QtWebEngineCore.QWebEngineLoadingInfo

PySide6.QtWebEngineCore.QWebEngineLoadingInfo.LoadStatus

This enumeration represents the load status of a web page load request:

Constant

Description

QWebEngineLoadingInfo.LoadStartedStatus

Page is currently loading.

QWebEngineLoadingInfo.LoadStoppedStatus

Loading the page was stopped by the stop() method or by the loader code or network stack in Chromium.

QWebEngineLoadingInfo.LoadSucceededStatus

Page has been loaded with success.

QWebEngineLoadingInfo.LoadFailedStatus

Page could not be loaded.

PySide6.QtWebEngineCore.QWebEngineLoadingInfo.ErrorDomain

This enumeration holds the type of a load error:

Constant

Description

QWebEngineLoadingInfo.NoErrorDomain

Error type is not known.

QWebEngineLoadingInfo.InternalErrorDomain

Content cannot be interpreted by Qt WebEngine.

QWebEngineLoadingInfo.ConnectionErrorDomain

Error results from a faulty network connection.

QWebEngineLoadingInfo.CertificateErrorDomain

Error is related to the SSL/TLS certificate.

QWebEngineLoadingInfo.HttpErrorDomain

Error is related to the HTTP connection.

QWebEngineLoadingInfo.FtpErrorDomain

Error is related to the FTP connection.

QWebEngineLoadingInfo.DnsErrorDomain

Error is related to the DNS connection.

PySide6.QtWebEngineCore.QWebEngineLoadingInfo.errorCode()
Return type

int

PySide6.QtWebEngineCore.QWebEngineLoadingInfo.errorDomain()
Return type

ErrorDomain

PySide6.QtWebEngineCore.QWebEngineLoadingInfo.errorString()
Return type

str

PySide6.QtWebEngineCore.QWebEngineLoadingInfo.isErrorPage()
Return type

bool

PySide6.QtWebEngineCore.QWebEngineLoadingInfo.status()
Return type

LoadStatus

PySide6.QtWebEngineCore.QWebEngineLoadingInfo.url()
Return type

PySide6.QtCore.QUrl

Returns the URL of the load request.