Obsolete Members for WebEngineView

QML 유형 WebEngineView의 다음 멤버는 더 이상 사용되지 않습니다. 이 멤버들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.

속성

  • Feature : enumeration (deprecated in 6.8)

신호

방법

  • void grantFeaturePermission(url securityOrigin, Feature feature, bool granted) (since QtWebEngine 1.1, deprecated in 6.8)

프로퍼티 문서

Feature : enumeration [deprecated in 6.8]

이 프로퍼티는 QtWebEngine 6.8부터 더 이상 사용되지 않습니다. 새 코드에 사용하지 않는 것이 좋습니다.

WebEnginePermission.PermissionType으로 대체되었습니다.

사용자에게 접근을 허용하거나 거부하도록 요청할 수 있는 플랫폼 기능 접근 카테고리를 설명합니다:

상수설명
WebEngineView.Geolocation위치 하드웨어 또는 서비스.
WebEngineView.MediaAudioCapture마이크와 같은 오디오 캡처 장치.
WebEngineView.MediaVideoCapture카메라 등의 비디오 장치.
WebEngineView.MediaAudioVideoCapture오디오 및 비디오 캡처 장치 모두.
WebEngineView.DesktopVideoCapture비디오 출력 캡처, 즉 사용자 디스플레이의 캡처. (Qt 5.10에 추가됨)
WebEngineView.DesktopAudioVideoCapture오디오 및 비디오 출력 캡처 모두. (Qt 5.10에 추가됨)
WebEngineView.Notifications최종 사용자를 위한 웹 알림.
WebEngineView.ClipboardReadWrite클립보드에 대한 읽기 및 쓰기 액세스. javascriptCanPastejavascriptCanAccessClipboard 설정이 모두 활성화되어 있으면 이 권한은 항상 자동으로 부여되며 기능 요청이 이루어지지 않습니다. (Qt 6.8에 추가됨)
WebEngineView.LocalFontsAccess사용자 컴퓨터에 설치된 글꼴에 대한 액세스 권한. 데스크톱 플랫폼에서만 사용할 수 있습니다. (Qt 6.8에 추가됨)

featurePermissionRequested() 및 grantFeaturePermission()도 참조하세요 .


시그널 문서

[since QtWebEngine 1.1, deprecated in 6.8] featurePermissionRequested(url securityOrigin, Feature feature)

이 신호는 QtWebEngine 6.8부터 더 이상 사용되지 않습니다. 새 코드에서 사용하지 않는 것이 좋습니다.

대신 permissionRequested()를 사용하십시오.

이 신호는 securityOrigin 로 식별되는 웹 사이트가 feature 로 식별되는 리소스 또는 장치를 사용하도록 요청할 때 발생합니다.

참고: 해당 핸들러는 onFeaturePermissionRequested 입니다.

이 신호는 QtWebEngine 1.1에 도입되었습니다.

grantFeaturePermission()도 참조하십시오 .


[since QtWebEngine 1.7, deprecated in 6.5] quotaRequested(QuotaRequest request)

이 신호는 QtWebEngine 6.5부터 더 이상 사용되지 않습니다. 새 코드에서 이 신호를 사용하지 않는 것이 좋습니다.

이 신호는 더 이상 발생하지 않습니다.

호스트 할당량 요청은 더 이상 Chromium에서 지원되지 않습니다. navigator.webkitPersistentStorage의 동작은 navigator.webkitTemporaryStorage와 동일합니다.

자세한 내용은 https://crbug.com/1233525 을 참조하세요.

참고: 해당 핸들러는 onQuotaRequested 입니다.

이 신호는 QtWebEngine 1.7에서 도입되었습니다.

QuotaRequest참조하십시오 .


메서드 문서

[since QtWebEngine 1.1, deprecated in 6.8] void grantFeaturePermission(url securityOrigin, Feature feature, bool granted)

이 메서드는 QtWebEngine 6.8부터 더 이상 사용되지 않습니다. 새 코드에서 이 메서드를 사용하지 않는 것이 좋습니다.

대신 webEnginePermission.grant() 또는 webEnginePermission.deny()를 사용하십시오.

securityOrigin 으로 식별된 웹 사이트가 feature 을 사용할 수 있도록 granted 에 따라 권한을 설정하거나 설정 해제합니다.

이 메서드는 QtWebEngine 1.1에 도입되었습니다.

featurePermissionRequested()도 참조하십시오 .


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