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

WebEngine QML Type

Provides access to the default settings and profiles shared by all web engine views.

This type was introduced in QtWebEngine 1.1.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

WebEngine QML Type

  • Import Statement: import QtWebEngine

  • Since:: QtWebEngine 1.1

Detailed Description

The WebEngine singleton type provides access to the default profile and the default settings shared by all web engine views. It can be used to change settings globally, as illustrated by the following code snippet:

 
Sélectionnez
Component.onCompleted: {
    WebEngine.settings.pluginsEnabled = true;
}

Property Documentation

 

[read-only, since QtWebEngine 1.1] defaultProfile : WebEngineProfile

Default profile for all web engine views.

This property was introduced in QtWebEngine 1.1.

See Also

See also WebEngineProfile

[read-only, since QtWebEngine 1.1] settings : WebEngineSettings

Default settings for all web engine views.

This property was introduced in QtWebEngine 1.1.

See Also

Method Documentation

 

[since QtWebEngine 6.2] WebEngineScript script()

Constructs WebEngineScript, which can be set up and inserted into user scripts' collection for WebEngineView.userScripts or WebEngineProfile.userScripts using WebEngineScriptCollection.

This method was introduced in QtWebEngine 6.2.

See Also

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