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.
Dokumentation der Eigenschaft
allowFileAccess : bool
Ermöglicht dem WebView das Laden von Datei-URLs.
javaScriptEnabled : bool
Ermöglicht die Ausführung von JavaScript-Programmen.
localContentCanAccessFileUrls : bool
Ermöglicht lokal geladenen Dokumenten den Zugriff auf andere lokale URLs.
localStorageEnabled : bool
Aktiviert die Unterstützung für die lokale HTML 5-Speicherfunktion.
© 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.