FullScreenRequest QML Type
WebEngineView::fullScreenRequested() 신호에 대한 유틸리티 유형입니다. 더 보기...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 1.1 |
In C++: | QWebEngineFullScreenRequest |
속성
방법
자세한 설명
WebEngineView::fullScreenRequested()도 참조하세요 .
속성 문서
origin : url |
전체 화면 요청을 발행한 웹 페이지의 URL입니다.
toggleOn : bool |
애플리케이션이 전체 화면 모드를 켜야 하는 경우 true
, 그렇지 않으면 false
을 반환합니다.
accept()도 참조하세요 .
메서드 문서
void accept() |
전체화면 요청을 수락하려면 이 메서드를 호출합니다. WebEngineView::isFullScreen 속성을 toggleOn 과 동일하게 설정합니다.
ApplicationWindow { id: window WebEngineView { onFullScreenRequested: function(request) { if (request.toggleOn) window.showFullScreen() else window.showNormal() request.accept() } } }
toggleOn도 참조하세요 .
void reject() |
전체화면 요청을 거부합니다.
© 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.