WebEngineSettings QML Type

WebEngineSettings allows configuration of browser properties and attributes. More...

Import Statement: import QtWebEngine 1.1
Since: QtWebEngine 1.1


Detailed Description

WebEngineSettings allows configuration of browser properties and generic attributes, such as JavaScript support, focus behavior, and access to remote content.

Each WebEngineView can have individual settings.

Property Documentation

autoLoadImages : bool

Automatically loads images on web pages.

Enabled by default.

defaultTextEncoding : QString

Sets the default encoding. The value must be a string describing an encoding such as "utf-8" or "iso-8859-1".

If left empty, a default value will be used.

errorPageEnabled : bool

Enables displaying the built-in error pages of Chromium.

Enabled by default.

hyperlinkAuditingEnabled : bool

Enables support for the ping attribute for hyperlinks.

Disabled by default.

javascriptCanAccessClipboard : bool

Allows JavaScript programs to read from or write to the clipboard.

Disabled by default.

javascriptCanOpenWindows : bool

Allows JavaScript programs to open new windows.

Enabled by default.

javascriptEnabled : bool

Enables the running of JavaScript programs.

Enabled by default.

linksIncludedInFocusChain : bool

Includes hyperlinks in the keyboard focus chain.

Enabled by default.

localContentCanAccessFileUrls : bool

Allows locally loaded documents to access other local URLs.

Enabled by default.

localContentCanAccessRemoteUrls : bool

Allows locally loaded documents to access remote URLs.

Disabled by default.

localStorageEnabled : bool

Enables support for the HTML 5 local storage feature.

Enabled by default.

spatialNavigationEnabled : bool

Enables the Spatial Navigation feature, which means the ability to navigate between focusable elements, such as hyperlinks and form controls, on a web page by using the Left, Right, Up and Down arrow keys.

For example, if a user presses the Right key, heuristics determine whether there is an element they might be trying to reach towards the right and which element they probably want.

Disabled by default.

© 2016 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.