IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

WebEngineLoadRequest QML Type

A utility type for the WebEngineView::loadingChanged signal.

This type was introduced in QtWebEngine 1.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

WebEngineLoadRequest QML Type

  • Import Statement: import QtWebEngine 1.8

  • Since: QtWebEngine 1.0

Detailed Description

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

See Also

Property Documentation

 

[read-only] errorCode : int

Holds the error code.

[read-only] errorDomain : enumeration

This enumeration holds the type of a load request error:

Constant

Description

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.

[read-only] errorString : string

Holds the error message.

[read-only] status : enumeration

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

Constant

Description

WebEngineLoadRequest.LoadStartedStatus

Page is currently loading.

WebEngineLoadRequest.LoadSucceededStatus

Page has been loaded with success.

WebEngineLoadRequest.LoadFailedStatus

Page could not be loaded.

See Also

[read-only] url : url

Holds the URL of the load request.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+