WebEngine QML Type

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

导入语句: import QtWebEngine 1.8
Since: QtWebEngine 1.1

特性

详细描述

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;
}
						

特性文档编制

[read-only] defaultProfile : WebEngineProfile

Default profile for all web engine views.

This property was introduced in QtWebEngine 1.1.

另请参阅 WebEngineProfile .


[read-only] settings : WebEngineSettings

Default settings for all web engine views.

This property was introduced in QtWebEngine 1.1.

另请参阅 WebEngineSettings .