WebEngineNavigationRequest QML Type

WebEngineView::navigationRequested()의 일부로 웹 페이지로 이동하기 위한 요청을 나타냅니다. 더 보기...

Import Statement: import QtWebEngine
Since: QtWebEngine 1.0
In C++: QWebEngineNavigationRequest

속성

자세한 설명

요청을 수락하거나 거부하려면 accept() 또는 reject()를 호출합니다.

속성 문서

action : enumeration

탐색 요청을 수락할지 무시할지 여부입니다.

Constant설명
WebEngineNavigationRequest.AcceptRequest탐색 요청을 수락합니다.
WebEngineNavigationRequest.IgnoreRequest탐색 요청을 무시합니다.

hasFormData : bool [read-only, since 6.8]

탐색 요청에 양식 데이터가 포함되어 있는지 여부

이 속성은 Qt 6.8에 도입되었습니다.


isMainFrame : bool [read-only]

탐색 문제가 최상위 페이지에 대해 요청되었는지 여부입니다.


웹 페이지로 이동하는 데 사용되는 방법입니다.

Constant설명
WebEngineNavigationRequest.LinkClickedNavigation링크를 클릭합니다.
WebEngineNavigationRequest.TypedNavigation주소 표시줄에 URL을 입력합니다.
WebEngineNavigationRequest.FormSubmittedNavigation양식 제출.
WebEngineNavigationRequest.BackForwardNavigation탐색 기록을 사용하여 이전 또는 다음 페이지로 이동합니다.
WebEngineNavigationRequest.ReloadNavigation페이지 새로 고침.
WebEngineNavigationRequest.RedirectNavigation페이지 콘텐츠 또는 서버에서 리디렉션 또는 페이지 새로 고침을 트리거한 경우.
WebEngineNavigationRequest.OtherNavigation다른 방법을 사용하여 페이지로 이동하는 경우.

url : url [read-only]

이동할 웹 페이지의 URL입니다.


© 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.