PySide6.QtWebView.QWebViewLoadingInfo

class QWebViewLoadingInfo

The class provides load status information for the loadingChanged() signal.

Details

The QWebViewLoadingInfo type contains load status information for the requested URL.

Added in version 6.11.

Synopsis

Properties

Methods

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

QWebViewLoadingInfo.LoadStatus.LoadStatus.Started

The page is currently loading.

QWebViewLoadingInfo.LoadStatus.LoadStatus.Succeeded

The page was loaded successfully.

QWebViewLoadingInfo.LoadStatus.LoadStatus.Failed

The page could not be loaded.

QWebViewLoadingInfo.LoadStatus.LoadStatus.Stopped

The page load was stoped.

See also

loadingChanged()

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property errorStringᅟ: str

This property Holds the error message..

Holds the error message if the load request failed.

See also

loadingChanged()

Access functions:
property statusᅟ: QWebViewLoadingInfo.LoadStatus

This property holds The status of a web page load request..

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

See also

loadingChanged()

Access functions:
property urlᅟ: QUrl

This property holds The URL of the load request. The URL of the load request..

See also

url

Access functions:
__init__()
__init__(other)
Parameters:

otherQWebViewLoadingInfo

errorString()
Return type:

str

Getter of property errorStringᅟ .

status()
Return type:

LoadStatus

Getter of property statusᅟ .

swap(other)
Parameters:

otherQWebViewLoadingInfo

Swaps this loading info with other. This operation is very fast and never fails.

url()
Return type:

QUrl

Getter of property urlᅟ .