PySide6.QtWebEngineCore.QWebEngineLoadingInfo¶
- class QWebEngineLoadingInfo¶
- A utility type for the - loadingChangedsignal.- Details- 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- Synopsis¶- Properties¶- errorCodeᅟ- Holds the error code
- errorStringᅟ- Holds the error message
- isDownloadᅟ- Indicates if the page load was internally stopped (QWebEngineLoadingInfo::status() is equal to QWebEngineLoadingInfo::LoadStoppedStatus) and will be continued as a download request
- isErrorPageᅟ- Indicates if the load resulted in an error page
- responseHeadersᅟ- Holds the response headers when QWebEngineLoadingInfo::status() is equal to QWebEngineLoadingInfo::LoadSucceededStatus or QWebEngineLoadingInfo::LoadFailedStatus
- statusᅟ- Load status of the page
- urlᅟ- Holds the URL of the load request
 - Methods¶- def - __init__()
- def - errorCode()
- def - errorDomain()
- def - errorString()
- def - isDownload()
- def - isErrorPage()
- def - status()
- def - url()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - class LoadStatus¶
- This enumeration represents the load status of a web page load request: - Constant - Description - QWebEngineLoadingInfo.LoadStatus.LoadStartedStatus - Page is currently loading. - QWebEngineLoadingInfo.LoadStatus.LoadStoppedStatus - Loading the page was stopped by the stop() method or by the loader code or network stack in Chromium. - QWebEngineLoadingInfo.LoadStatus.LoadSucceededStatus - Page has been loaded with success. - QWebEngineLoadingInfo.LoadStatus.LoadFailedStatus - Page could not be loaded. 
 - class ErrorDomain¶
- This enumeration holds the type of a load error: - Constant - Description - QWebEngineLoadingInfo.ErrorDomain.NoErrorDomain - Error type is not known. - QWebEngineLoadingInfo.ErrorDomain.InternalErrorDomain - Content cannot be interpreted by Qt WebEngine. - QWebEngineLoadingInfo.ErrorDomain.ConnectionErrorDomain - Error results from a faulty network connection. - QWebEngineLoadingInfo.ErrorDomain.CertificateErrorDomain - Error is related to the SSL/TLS certificate. - QWebEngineLoadingInfo.ErrorDomain.HttpErrorDomain - Error is related to the HTTP connection. - QWebEngineLoadingInfo.ErrorDomain.FtpErrorDomain - Error is related to the FTP connection. - QWebEngineLoadingInfo.ErrorDomain.DnsErrorDomain - Error is related to the DNS connection. - QWebEngineLoadingInfo.ErrorDomain.HttpStatusCodeDomain - Error is the HTTP response status code, even in case of success e.g. the server replied with status 200. 
 - Note - Properties can be used directly when - from __feature__ import true_propertyis used or via accessor functions otherwise.- property errorCodeᅟ: int¶
 - This property Holds the error code.. - Access functions:
 - property errorDomainᅟ: QWebEngineLoadingInfo.ErrorDomain¶
 - Access functions:
 - property errorStringᅟ: str¶
 - This property Holds the error message.. - Access functions:
 - property isDownloadᅟ: bool¶
 - This property holds Indicates if the page load was internally stopped ( - QWebEngineLoadingInfo::status()is equal to- QWebEngineLoadingInfo::LoadStoppedStatus) and will be continued as a download request..- Access functions:
 - property isErrorPageᅟ: bool¶
 - This property holds Indicates if the load resulted in an error page.. - Access functions:
 - property responseHeadersᅟ: QMultiMapQByteArray,QByteArray¶
 - This property Holds the response headers when - QWebEngineLoadingInfo::status()is equal to- QWebEngineLoadingInfo::LoadSucceededStatusor- QWebEngineLoadingInfo::LoadFailedStatus..- Access functions:
 - property statusᅟ: QWebEngineLoadingInfo.LoadStatus¶
 - This property holds The load status of the page.. - Access functions:
 - This property Holds the URL of the load request.. - Access functions:
 - __init__()¶
 - __init__(other)
- Parameters:
- other – - QWebEngineLoadingInfo
 
 - errorCode()¶
- Return type:
- int 
 
 - Getter of property - errorCodeᅟ.- errorDomain()¶
- Return type:
 
 - Getter of property - errorDomainᅟ.- errorString()¶
- Return type:
- str 
 
 - Getter of property - errorStringᅟ.- isDownload()¶
- Return type:
- bool 
 
 - Getter of property - isDownloadᅟ.- isErrorPage()¶
- Return type:
- bool 
 
 - Getter of property - isErrorPageᅟ.- responseHeaders()¶
- Return type:
- .QMultiMapQByteArray,QByteArray 
 
 - Getter of property - responseHeadersᅟ.- status()¶
- Return type:
 
 - Getter of property - statusᅟ.- Returns the URL of the load request. - Getter of property - urlᅟ.