WebViewSettings QML Type
Ermöglicht die Konfiguration von Browser-Eigenschaften und -Attributen. Mehr...
Import Statement: | import QtWebView |
Since: | QtWebView 6.5 |
Eigenschaften
- allowFileAccess : bool
- javaScriptEnabled : bool
- localContentCanAccessFileUrls : bool
- localStorageEnabled : bool
Detaillierte Beschreibung
Der Typ WebViewSettings kann zur Konfiguration von Browsereigenschaften und generischen Attributen wie JavaScript-Unterstützung, Dateizugriff und lokale Speicherfunktionen verwendet werden. Dieser Typ kann nicht erstellt werden, aber auf die Standardeinstellungen für alle Webansichten kann über die Eigenschaft WebView.settings zugegriffen werden.
Die Standardwerte werden so belassen, wie sie von den verschiedenen Plattformen festgelegt wurden.
Eigenschaft Dokumentation
javaScriptEnabled : bool |
Ermöglicht das Ausführen von JavaScript-Programmen.
localContentCanAccessFileUrls : bool |
Ermöglicht lokal geladenen Dokumenten den Zugriff auf andere lokale URLs.
localStorageEnabled : bool |
Ermöglicht die Unterstützung der lokalen Speicherfunktion von 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.