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.1.tar.gz (135.0 kB view details)

Uploaded Source

Built Distribution

qpageview-1.0.1-py3-none-any.whl (123.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qpageview-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7020232b1a60dda457a33a00063fe4de33b48af0c3543b4b7b8c6702f5d40368
MD5 18b681cda854cc36b69f02d470a071bb
BLAKE2b-256 9faf6628c11152605432fc5c13caceaf774ec47c919015a9e3b3a4ece3205c91

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for qpageview-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b12412216f90c8ab01988e0c1b7c7b2bf17d86cef081bb61bebb3ba2141ab1ae
MD5 074e6cf98824df4c38b6eccc988c698b
BLAKE2b-256 6b4dd65067d82af087d533a16a02e14f5deaf98f58c61994fa0ec970a25d4bcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for qpageview-1.0.1-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page