WebEngineNewViewRequest QML Type
A utility type for the WebEngineView::newViewRequested signal. 更多...
Import Statement: | import QtWebEngine 1.5 |
开始支持版本: | QtWebEngine 1.1 |
属性
- destination : WebEngineView::NewViewDestination
- requestedUrl : QUrl
- userInitiated : bool
方法
- openIn(WebEngineView view)
详细描述
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.
The URL that is requested by the page.
This QML property was introduced in QtWebEngine 1.5.
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.