PySide6.QtWebView.QWebViewLoadingInfo¶
- class QWebViewLoadingInfo¶
The class provides load status information for the
loadingChanged()signal.Details
The
QWebViewLoadingInfotype contains load status information for the requested URL.Added in version 6.11.
Synopsis¶
Properties¶
errorStringᅟ- Holds the error messagestatusᅟ- Of a web page load requesturlᅟ- URL of the load request. The URL of the load request
Methods¶
def
__init__()def
errorString()def
status()def
swap()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
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
Note
Properties can be used directly when
from __feature__ import true_propertyis 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
- 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
- Access functions:
This property holds The URL of the load request. The URL of the load request..
See also
- Access functions:
- __init__()¶
- __init__(other)
- Parameters:
other –
QWebViewLoadingInfo
- errorString()¶
- Return type:
str
Getter of property
errorStringᅟ.- status()¶
- Return type:
Getter of property
statusᅟ.- swap(other)¶
- Parameters:
other –
QWebViewLoadingInfo
Swaps this loading info with
other. This operation is very fast and never fails.Getter of property
urlᅟ.