Widget to display page-based documents for Qt5/PyQt5
import qpageview from PyQt5.Qt import * a = QApplication() v = qpageview.View() v.show() v.loadPdf("path/to/afile.pdf")
qpageview provides a page based document viewer widget for Qt5/PyQt5.
It has a flexible architecture potentionally supporting many formats. Currently, it supports SVG documents, images, and, using the Poppler-Qt5 binding, PDF documents.
python-poppler-qt5 (needed for display of PDF documents)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.