tools.pdf module

Library to pdf viewer functionality

class tools.pdf.PDFWidget(*args: Any, **kwargs: Any)[source]

Bases: QDialog

Internal viewer using a QtWebEngineView

__init__(pdffile, title=None)[source]
tools.pdf.openPDF(file, title=None)[source]

Show a viewer with a pdf file

Parameters:
filestr

Path for file to view

titlestr, optional

Optional title for the window used only when use the internal viewer