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

WebEngineNavigationRequest QML Type

Represents a request for navigating to a web page as part of WebEngineView::navigationRequested().

This type was introduced in QtWebEngine 1.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

WebEngineNavigationRequest QML Type

Detailed Description

To accept or reject a request, call accept() or reject().

Property Documentation

 

action : enumeration

Whether to accept or ignore the navigation request.

Constant

Description

WebEngineNavigationRequest.AcceptRequest

Accepts a navigation request.

WebEngineNavigationRequest.IgnoreRequest

Ignores a navigation request.

[read-only] isMainFrame : bool

Whether the navigation issue is requested for a top level page.

[read-only] navigationType : enumeration

Constant

Description

WebEngineNavigationRequest.LinkClickedNavigation

Clicking a link.

WebEngineNavigationRequest.TypedNavigation

Entering an URL on the address bar.

WebEngineNavigationRequest.FormSubmittedNavigation

Submitting a form.

WebEngineNavigationRequest.BackForwardNavigation

Using navigation history to go to the previous or next page.

WebEngineNavigationRequest.ReloadNavigation

Reloading the page.

WebEngineNavigationRequest.RedirectNavigation

Page content or server triggered a redirection or page refresh.

WebEngineNavigationRequest.OtherNavigation

Using some other method to go to a page.

[read-only] url : url

The URL of the web page to go to.

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