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.5.tar.gz (137.0 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.5-py3-none-any.whl (124.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qpageview-1.0.5.tar.gz
Algorithm Hash digest
SHA256 78a74a7ea499cb5b1a6027c0f8e0e99f52820acbb8b1fe6fea8c502436942fc5
MD5 3fc33f2fbe5d5cde6e2f09d9e715f6ac
BLAKE2b-256 e3073c7fdf7cc6ed23d004046e136425ef38ea8e30048c1cc061cce2b1330543

See more details on using hashes here.

Provenance

The following attestation bundles were made for qpageview-1.0.5.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.5-py3-none-any.whl.

File metadata

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

File hashes

Hashes for qpageview-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3f0aba4782c880fa5c4dbe4059962a6db1e8e767f86b55a203237169ca128c7a
MD5 fb18a1fc80a938ca17c31356dee512f0
BLAKE2b-256 b232dae0492385e9fadac35aa7d73f7627b782f2bf677fcca5f453f717051b55

See more details on using hashes here.

Provenance

The following attestation bundles were made for qpageview-1.0.5-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