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)
|
Feature
:
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 ().