pdf viewer for pyqt4 application?
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.
I've found the reportLab to create pdf files, but nothing about pdf viewers. Does anyone knows anything that might help. i was rea开发者_开发问答lly hoping for the existence of something like the QWebView widget...
thanks in advance to all
You can use the Poppler library for that.
A Python binding to poppler-qt4 that aims for completeness and for being actively maintained. https://code.google.com/p/python-poppler-qt4/
what about okular? It is a full app, but it can always be call from another app.
精彩评论