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

WebEngineNewViewRequest QML Type

A utility type for the WebEngineView::newViewRequested signal.

This type was introduced in QtWebEngine 1.1.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

WebEngineNewViewRequest QML Type▲

  • Import Statement: import QtWebEngine 1.8

  • Since: QtWebEngine 1.1

Detailed Description▲

Contains information about a request to load a page in a separate web engine view.

See Also▲

Property Documentation▲

 

destination : WebEngineView::NewViewDestination▲

The type of the view that is requested by the page.

[since QtWebEngine 1.5] requestedUrl : QUrl▲

The URL that is requested by the page.

This property was introduced in QtWebEngine 1.5.

userInitiated : bool▲

Whether this window request was directly triggered as the result of a keyboard or mouse event.

Use this property to block possibly unwanted popups.

Method Documentation▲

 

openIn(WebEngineView view)▲

Opens the requested page in the new web engine view view. State and history of the view and the page possibly loaded in it will be lost.

See Also▲

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