WebEngineNavigationRequest QML Type

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

Import Statement: import QtWebEngine 1.8
Since: QtWebEngine 1.0

Properties

Detailed Description

To accept or reject a request, set action to WebEngineNavigationRequest.AcceptRequest or WebEngineNavigationRequest.IgnoreRequest.

Property Documentation

action : enumeration

Whether to accept or ignore the navigation request.

ConstantDescription
WebEngineNavigationRequest.AcceptRequestAccepts a navigation request.
WebEngineNavigationRequest.IgnoreRequestIgnores a navigation request.

[read-only] isMainFrame : bool

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


The method used to navigate to a web page.

ConstantDescription
WebEngineNavigationRequest.LinkClickedNavigationClicking a link.
WebEngineNavigationRequest.TypedNavigationEntering an URL on the address bar.
WebEngineNavigationRequest.FormSubmittedNavigationSubmitting a form.
WebEngineNavigationRequest.BackForwardNavigationUsing navigation history to go to the previous or next page.
WebEngineNavigationRequest.ReloadNavigationReloading the page.
WebEngineNavigationRequest.OtherNavigationUsing some other method to go to a page.

[read-only] url : url

The URL of the web page to go to.


© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.