WebViewSettings QML Type
Permite configurar las propiedades y atributos del navegador. Más...
| Import Statement: | import QtWebView |
| Since: | QtWebView 6.5 |
Propiedades
- allowFileAccess : bool
- javaScriptEnabled : bool
- localContentCanAccessFileUrls : bool
- localStorageEnabled : bool
Descripción detallada
El tipo WebViewSettings se puede utilizar para configurar las propiedades del navegador y los atributos genéricos, como el soporte JavaScript, el acceso a archivos y las características de almacenamiento local. Este tipo no se puede crear, pero se puede acceder a la configuración por defecto de todas las vistas web utilizando la propiedad WebView.settings.
Los valores por defecto se dejan tal y como los establecen las diferentes plataformas.
Documentación de propiedades
allowFileAccess : bool
Permite a WebView cargar direcciones URL de archivos.
javaScriptEnabled : bool
Permite ejecutar programas 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 HTML 5.
© 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.