Obsolete Members for WebEngineView

The following members of QML type WebEngineView are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

  • Feature : enumeration (deprecated in 6.8)

Signals

Methods

  • void grantFeaturePermission(url securityOrigin, Feature feature, bool granted) (since QtWebEngine 1.1, deprecated in 6.8)

Property Documentation

Feature : enumeration [deprecated in 6.8]

This property is deprecated since QtWebEngine 6.8. We strongly advise against using it in new code.

Replaced by WebEnginePermission.PermissionType.

Describes the platform feature access categories that the user may be asked to grant or deny access to:

ConstantDescription
WebEngineView.GeolocationLocation hardware or service.
WebEngineView.MediaAudioCaptureAudio capture devices, such as microphones.
WebEngineView.MediaVideoCaptureVideo devices, such as cameras.
WebEngineView.MediaAudioVideoCaptureBoth audio and video capture devices.
WebEngineView.DesktopVideoCaptureVideo output capture, that is, the capture of the user's display. (Added in Qt 5.10)
WebEngineView.DesktopAudioVideoCaptureBoth audio and video output capture. (Added in Qt 5.10)
WebEngineView.NotificationsWeb notifications for the end-user.
WebEngineView.ClipboardReadWriteRead and write access for the clipboard. If both javascriptCanPaste and javascriptCanAccessClipboard settings are enabled, this permission will always be granted automatically and no feature requests will be made. (Added in Qt 6.8)
WebEngineView.LocalFontsAccessAccess to the fonts installed on the user's machine. Only available on desktop platforms. (Added in Qt 6.8)

See also featurePermissionRequested() and grantFeaturePermission().


Signal Documentation

[since QtWebEngine 1.1, deprecated in 6.8] featurePermissionRequested(url securityOrigin, Feature feature)

This signal is deprecated since QtWebEngine 6.8. We strongly advise against using it in new code.

Use permissionRequested() instead.

This signal is emitted when the web site identified by securityOrigin requests to make use of the resource or device identified by feature.

Note: The corresponding handler is onFeaturePermissionRequested.

This signal was introduced in QtWebEngine 1.1.

See also grantFeaturePermission().


[since QtWebEngine 1.7, deprecated in 6.5] quotaRequested(QuotaRequest request)

This signal is deprecated since QtWebEngine 6.5. We strongly advise against using it in new code.

This signal is no longer emitted.

Requesting host quota is no longer supported by Chromium. The behavior of navigator.webkitPersistentStorage is identical to navigator.webkitTemporaryStorage.

For further details, see https://crbug.com/1233525

Note: The corresponding handler is onQuotaRequested.

This signal was introduced in QtWebEngine 1.7.

See also QuotaRequest.


Method Documentation

[since QtWebEngine 1.1, deprecated in 6.8] void grantFeaturePermission(url securityOrigin, Feature feature, bool granted)

This method is deprecated since QtWebEngine 6.8. We strongly advise against using it in new code.

Use webEnginePermission.grant() or webEnginePermission.deny() instead.

Sets or unsets the permission, depending on granted, for the web site identified by securityOrigin to use feature.

This method was introduced in QtWebEngine 1.1.

See also featurePermissionRequested().


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