Qt WebEngine 小部件示例
Qt 基于流行的开源浏览器引擎 Chromium 提供了一个集成的 Web 浏览器组件。
这些示例和演示展示了Qt WebEngine 的各种不同用途,从在 Qt XML 用户界面中显示网页到基本功能 Web 浏览器的实现。
在网页中注入自定义样式表,并为自定义标记语言提供富文本预览工具。 | |
演示如何加载和操作网页内容。 | |
基于Qt WebEngine Widgets 的 cookie 浏览器。 | |
演示如何向用户传递 HTML5 网页通知。 | |
演示如何订阅和取消订阅推送通知。 | |
使用Qt WebEngine 和 QSslServer 进行简单的客户端证书验证。 | |
使用Qt WebEngine 将网页转换为 PDF 文档。 | |
演示如何处理地理位置请求。 | |
演示如何处理网站权限请求和管理现有权限。 | |
演示如何使用Qt WebEngine Widgets 打印网页。 | |
基于Qt WebEngine Widgets 的简单浏览器。 | |
将拼写检查程序集成到一个简单的 HTML 表单中。 | |
使用 QWebEngineView 显示全屏视频。 |
© 2025 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.