WebViewSettings QML Type

브라우저 속성 및 속성을 구성할 수 있습니다. 더 보기...

Import Statement: import QtWebView
Since: QtWebView 6.5

속성

상세 설명

WebViewSettings 유형은 브라우저 속성 및 JavaScript 지원, 파일 액세스 및 로컬 저장소 기능과 같은 일반 속성을 구성하는 데 사용할 수 있습니다. 이 유형은 만들 수 없지만 WebView.settings 속성을 사용하여 모든 웹 보기의 기본 설정에 액세스할 수 있습니다.

기본값은 여러 플랫폼에서 설정한 대로 유지됩니다.

속성 문서

allowFileAccess : bool

WebView 에서 파일 URL을 로드할 수 있도록 합니다.


javaScriptEnabled : bool

JavaScript 프로그램 실행을 활성화합니다.


localContentCanAccessFileUrls : bool

로컬로 로드된 문서가 다른 로컬 URL에 액세스할 수 있도록 허용합니다.


localStorageEnabled : bool

HTML 5 로컬 저장소 기능을 지원합니다.


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