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 .
The type of the view that is requested by the page.
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.