Skip to main content

Widget to display page-based documents for Qt6/PyQt6

Project description

qpageview provides a page based document viewer widget for Qt6/PyQt6.

It has a flexible architecture potentionally supporting many formats. Currently, it supports PDF and SVG documents and several image formats.

import qpageview

from PyQt6.QtWidgets import *
a = QApplication([])

v = qpageview.View()
v.show()
v.loadPdf("path/to/afile.pdf")

a.exec()

HomepageDevelopmentDownloadDocumentationLicense

Features

  • Versatile View widget with many optional mixin classes to cater for anything between basic or powerful functionality.

  • Rendering in a background thread, with smart priority control, so display of large PDF documents remains fast and smooth.

  • Almost infinite zooming thanks to tile-based rendering and caching.

  • Magnifier glass.

  • Printing functionality, directly to cups or via Qt/QPrinter.

  • Can display pages originating from different documents at the same time.

  • Can show the difference between pages that are almost the same via color composition.

  • And much more! And…all classes are extendable and heavily customizable, so it is easy to inherit and add any functionality you want.

Dependencies

  • Python 3.7+

  • Qt 6.6+

  • PyQt6

  • pycups (optionally, needed to print to a local CUPS server)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qpageview-1.0.4.tar.gz (135.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qpageview-1.0.4-py3-none-any.whl (123.3 kB view details)

Uploaded Python 3

File details

Details for the file qpageview-1.0.4.tar.gz.

File metadata

  • Download URL: qpageview-1.0.4.tar.gz
  • Upload date:
  • Size: 135.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qpageview-1.0.4.tar.gz
Algorithm Hash digest
SHA256 4b74bf7b808cd4af745e722904e2a4af3f66ec54c15067588d813f6ab95aaf35
MD5 293f8bc20a8fb50bb00dbfcdf2ffc587
BLAKE2b-256 89619233bb6c442c096ddc4331196f20a66c9e60875b81995c6992e28ec051d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for qpageview-1.0.4.tar.gz:

Publisher: release.yml on frescobaldi/qpageview

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qpageview-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: qpageview-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 123.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qpageview-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 16ca67e4a636c4544fb6b639a4f1092b5c29706651fcea253c2386535e576723
MD5 f0ee1c79417831b7cbf803422c76c8e6
BLAKE2b-256 8e79e1c56f2b6abd39a7e772c18b6c8ade9c280b4a0caff9b509c2a17461d4a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for qpageview-1.0.4-py3-none-any.whl:

Publisher: release.yml on frescobaldi/qpageview

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page