The following members of QML type WebEngineView 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated in 6.8)
(since QtWebEngine 1.1, deprecated in 6.8)
(since QtWebEngine 1.7, deprecated in 6.5)
(since QtWebEngine 1.1, deprecated in 6.8)
|
特征
:
enumeration
|
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:
| 常量 | 描述 |
|---|---|
WebEngineView.Geolocation
|
定位硬件或服务。 |
WebEngineView.MediaAudioCapture
|
音频捕获设备 (譬如:麦克风)。 |
WebEngineView.MediaVideoCapture
|
视频设备 (譬如:摄像头)。 |
WebEngineView.MediaAudioVideoCapture
|
音频和视频捕获设备。 |
WebEngineView.DesktopVideoCapture
|
Video output capture, that is, the capture of the user's display. (Added in Qt 5.10) |
WebEngineView.DesktopAudioVideoCapture
|
音频和视频两者输出捕获 (在 Qt 5.10 添加)。 |
WebEngineView.Notifications
|
最终用户的 Web 通知。 |
WebEngineView.ClipboardReadWrite
|
Read 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.LocalFontsAccess
|
Access to the fonts installed on the user's machine. Only available on desktop platforms. (Added in Qt 6.8) |
另请参阅 featurePermissionRequested () 和 grantFeaturePermission ().
|
|
This signal is deprecated since QtWebEngine 6.8. We strongly advise against using it in new code.
使用 permissionRequested () 代替。
此信号发射,当网站标识通过 securityOrigin 请求使用资源 (或设备) 的标识通过 feature .
注意:
相应处理程序是
onFeaturePermissionRequested
.
该信号在 QtWebEngine 1.1 引入。
另请参阅 grantFeaturePermission ().
|
|
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
注意:
相应处理程序是
onQuotaRequested
.
该信号在 QtWebEngine 1.7 引入。
另请参阅 QuotaRequest .
|
|
This method is deprecated since QtWebEngine 6.8. We strongly advise against using it in new code.
使用 webEnginePermission .grant() or webEnginePermission .deny() instead.
Sets or unsets the permission, depending on granted , for the web site identified by securityOrigin 要使用 feature .
该方法在 QtWebEngine 1.1 引入。
另请参阅 featurePermissionRequested ().