Qt PDF 示例

以下示例说明了如何使用 C++ 类和 QML 类型在 Qt PDF模块中的 C++ 类和 QML 类型来呈现 PDF 文档。

PDF Multipage Viewer Example

可滚动浏览页面的Qt Quick PDF 查看器。

PDF Single Page Viewer Example

一个Qt Quick PDF 查看器,一次查看一页。

PDF Viewer Widget Example

允许滚动浏览页面的基于 widget 的 PDF 查看器。

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