WebEngineNewViewRequest QML Type

A utility type for the WebEngineView::newViewRequested 信号。 更多...

import 语句: import QtWebEngine 1.10
Since: QtWebEngine 1.1

特性

方法

详细描述

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

另请参阅 WebEngineView::newViewRequested .

特性文档编制

destination : WebEngineView::NewViewDestination

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

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 .

方法文档编制

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.

另请参阅 WebEngineView::newViewRequested .