WebEngineNewWindowRequest QML Type
WebEngineView::newWindowRequested シグナルのユーティリティ型。詳細...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 1.12 |
In C++: | QWebEngineNewWindowRequest |
プロパティ
- DestinationType : enumeration
- destination : WebEngineNewWindowRequest::DestinationType
- requestedGeometry : QRect
(since QtWebEngine 2.0)
- requestedUrl : QUrl
(since QtWebEngine 1.5)
- userInitiated : bool
方法
- openIn(WebEngineView view)
詳細説明
別のウェブエンジンビューでページをロードするリクエストに関する情報を保持します。
WebEngineView::newWindowRequestedも参照してください 。
プロパティ ドキュメント
DestinationType : enumeration |
新しいビューを開く方法を説明します:
定数 | 説明 |
---|---|
WebEngineNewWindowRequest.InNewWindow | 別のウィンドウで。 |
WebEngineNewWindowRequest.InNewTab | 同じウィンドウのタブ |
WebEngineNewWindowRequest.InNewDialog | タブバー、ツールバー、URLバーのないウィンドウで。 |
WebEngineNewWindowRequest.InNewBackgroundTab | 同じウィンドウのタブで、現在表示されているウェブエンジンのビューを非表示にしないでください。 |
destination : WebEngineNewWindowRequest::DestinationType |
要求されるウィンドウのタイプ
requestedGeometry : QRect |
新しいページに要求されるサイズ。
このプロパティは QtWebEngine 2.0 で導入されました。
requestedUrl : QUrl |
新しいページに要求される URL。
このプロパティは QtWebEngine 1.5 で導入されました。
userInitiated : bool |
このウィンドウ要求が、キーボードまたはマウスイベントの結果として直接トリガされたかどうか。
このプロパティを使用して、自動ポップアップをブロックできます。
メソッドの説明
openIn(WebEngineView view) |
要求されたページを新しいウェブエンジンビューview で開きます。ビューの状態と履歴、およびその中にロードされた可能性のあるページは失われます。
WebEngineView::newWindowRequestedも参照してください 。
© 2025 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.