En esta página

WebViewSettings QML Type

Permite configurar las propiedades y los atributos del navegador. Más...

Import Statement: import QtWebView
Since: QtWebView 6.5

Propiedades

Descripción detallada

El tipo WebViewSettings se puede utilizar para configurar las propiedades del navegador y los atributos genéricos, como la compatibilidad con JavaScript, el acceso a archivos y las funciones de almacenamiento local. Este tipo no se puede crear, pero se puede acceder a la configuración predeterminada de todas las vistas web mediante la propiedad WebView.settings.

Los valores predeterminados se mantienen tal y como los establecen las distintas plataformas.

Documentación de la propiedad

allowFileAccess : bool

Permite que el « WebView » cargue direcciones URL de archivos.

javaScriptEnabled : bool

Permite la ejecución de programas de JavaScript.

localContentCanAccessFileUrls : bool

Permite que los documentos cargados localmente accedan a otras URL locales.

localStorageEnabled : bool

Habilita la compatibilidad con la función de almacenamiento local de HTML5.

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