WebEngine QML Type
Provides access to the default settings and profiles shared by all web engine views. More...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 1.1 |
Properties
- defaultProfile : WebEngineProfile
- settings : WebEngineSettings
Methods
- WebEngineScript script()
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:
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 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 WebEngineSettings.
Method Documentation
|
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 WebEngineScript and WebEngineScriptCollection.
© 2024 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.