A utility type for the WebEngineView::loadingChanged 信号。 更多...
import 语句: | import QtWebEngine 1.10 |
Since: | QtWebEngine 1.0 |
Contains information about a request for loading a web page, such as the URL and current loading status (started, succeeded, failed).
另请参阅 WebEngineView::loadingChanged .
errorCode : int |
Holds the error code.
errorDomain : enumeration |
This enumeration holds the type of a load request error:
常量 | 描述 |
---|---|
WebEngineView.NoErrorDomain
|
Error type is not known. |
WebEngineView.InternalErrorDomain
|
Content cannot be interpreted by Qt WebEngine. |
WebEngineView.ConnectionErrorDomain
|
Error results from a faulty network connection. |
WebEngineView.CertificateErrorDomain
|
Error is related to the SSL/TLS certificate. |
WebEngineView.HttpErrorDomain
|
Error is related to the HTTP connection. |
WebEngineView.FtpErrorDomain
|
Error is related to the FTP connection. |
WebEngineView.DnsErrorDomain
|
Error is related to the DNS connection. |
errorString : string |
Holds the error message.
status : enumeration |
This enumeration represents the load status of a web page load request:
常量 | 描述 |
---|---|
WebEngineView.LoadStartedStatus
|
目前正在加载页面。 |
WebEngineView.LoadStoppedStatus
|
Loading the page was stopped by the stop() method or by the loader code or network stack in Chromium. |
WebEngineView.LoadSucceededStatus
|
Page has been loaded with success. |
WebEngineView.LoadFailedStatus
|
Page could not be loaded. |
另请参阅 WebEngineView::loadingChanged .
url : url |
Holds the URL of the load request.