pyqt4应用程序的pdf查看器? [英] pdf viewer for pyqt4 application?

查看:208
本文介绍了pyqt4应用程序的pdf查看器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个Python + Qt4应用程序,理想情况下,它需要不时地弹出一个窗口,以显示pdf文档并允许非常基本的操作,即滚动浏览不同的页面并打印文档.

I'm writing a Python+Qt4 application that would ideally need to pop up a window every once in a while, to display pdf documents and allow very basic operations, namely scrolling through the different pages and printing the document.

我已经找到了可创建pdf文件的reportLab,但是关于pdf查看器却一无所获.有谁知道任何可能会有所帮助的东西.我真的很希望QWebView小部件之类的东西的存在...

I've found the reportLab to create pdf files, but nothing about pdf viewers. Does anyone knows anything that might help. i was really hoping for the existence of something like the QWebView widget...

先感谢所有人

推荐答案

您可以使用 Poppler 库.

这篇关于pyqt4应用程序的pdf查看器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆