This commit is contained in:
Christopher T. Johnson
2025-02-14 12:17:43 -05:00
parent bc639c1a95
commit 7c6ffea018
5 changed files with 113 additions and 37 deletions

View File

@@ -1,12 +1,13 @@
from PySide6.QtCore import QFile
from PySide6.QtWidgets import QDialog, QVBoxLayout, QWidget
from PySide6.QtPdfWidgets import QPdfView
from PySide6.QtPdf import QPdfDocument
from PySide6.QtPdfWidgets import QPdfView
from PySide6.QtWidgets import QDialog, QVBoxLayout, QWidget
class PDFViewer(QDialog):
pdf_view: QPdfView
pdf_document: QPdfDocument
def __init__(self, parent: QWidget) -> None:
super(PDFViewer, self).__init__(parent)