IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

WebViewSettings QML Type

Allows configuration of browser properties and attributes.

This type was introduced in QtWebView 6.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

WebViewSettings QML Type

  • Import Statement: import QtWebView

  • Since:: QtWebView 6.5

I. Detailed Description

The WebViewSettings type can be used to configure browser properties and generic attributes, such as JavaScript support, file access and local storage features. This type is uncreatable, but the default settings for all web views can be accessed by using the WebView.settings property.

The default values are left as set by the different platforms.

II. Property Documentation

 

II-1. allowFileAccess : bool

Enables the WebView to load file URLs.

II-2. javascriptEnabled : bool

Enables the running of JavaScript programs.

II-3. localContentCanAccessFileUrls : bool

Allows locally loaded documents to access other local URLs.

II-4. localStorageEnabled : bool

Enables support for the HTML 5 local storage feature.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+