Class info
Classes
| Name | Children | Inherits |
|---|---|---|
| PdfBookmarkModel prettyqt.pdf.pdfbookmarkmodel Holds a tree of of links within a PDF document, such as the table of contents. |
||
| PdfDocument prettyqt.pdf.pdfdocument Loads a PDF document and renders pages from it. |
||
| PdfSearchModel prettyqt.pdf.pdfsearchmodel Searches for a string in a PDF document and holds the results. |
🛈 DocStrings
Classes and functions for rendering PDF documents.
PdfBookmarkModel
Bases: AbstractItemModelMixin, QPdfBookmarkModel
Holds a tree of of links within a PDF document, such as the table of contents.
Source code in prettyqt/pdf/pdfbookmarkmodel.py
set_document(document: datatypes.PathType | pdf.QPdfDocument)
Set document for model.
Source code in prettyqt/pdf/pdfbookmarkmodel.py
PdfDocument
Bases: ObjectMixin, QPdfDocument
Loads a PDF document and renders pages from it.
Source code in prettyqt/pdf/pdfdocument.py
get_error() -> ErrorStr
PdfSearchModel
Bases: AbstractItemModelMixin, QPdfSearchModel
Searches for a string in a PDF document and holds the results.
Source code in prettyqt/pdf/pdfsearchmodel.py
set_document(document: datatypes.PathType | pdf.QPdfDocument)
Set document for model.