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()
Homepage • Development • Download • Documentation • License
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7020232b1a60dda457a33a00063fe4de33b48af0c3543b4b7b8c6702f5d40368
|
|
MD5 |
18b681cda854cc36b69f02d470a071bb
|
|
BLAKE2b-256 |
9faf6628c11152605432fc5c13caceaf774ec47c919015a9e3b3a4ece3205c91
|
Provenance
The following attestation bundles were made for qpageview-1.0.1.tar.gz
:
Publisher:
release.yml
on frescobaldi/qpageview
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
qpageview-1.0.1.tar.gz
-
Subject digest:
7020232b1a60dda457a33a00063fe4de33b48af0c3543b4b7b8c6702f5d40368
- Sigstore transparency entry: 262756451
- Sigstore integration time:
-
Permalink:
frescobaldi/qpageview@0ea19214089dde4a15ed8a602bd6d2aed1dc3002
-
Branch / Tag:
refs/tags/v1.0.1
- Owner: https://github.com/frescobaldi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@0ea19214089dde4a15ed8a602bd6d2aed1dc3002
-
Trigger Event:
push
-
Statement type:
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b12412216f90c8ab01988e0c1b7c7b2bf17d86cef081bb61bebb3ba2141ab1ae
|
|
MD5 |
074e6cf98824df4c38b6eccc988c698b
|
|
BLAKE2b-256 |
6b4dd65067d82af087d533a16a02e14f5deaf98f58c61994fa0ec970a25d4bcf
|
Provenance
The following attestation bundles were made for qpageview-1.0.1-py3-none-any.whl
:
Publisher:
release.yml
on frescobaldi/qpageview
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
qpageview-1.0.1-py3-none-any.whl
-
Subject digest:
b12412216f90c8ab01988e0c1b7c7b2bf17d86cef081bb61bebb3ba2141ab1ae
- Sigstore transparency entry: 262756456
- Sigstore integration time:
-
Permalink:
frescobaldi/qpageview@0ea19214089dde4a15ed8a602bd6d2aed1dc3002
-
Branch / Tag:
refs/tags/v1.0.1
- Owner: https://github.com/frescobaldi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@0ea19214089dde4a15ed8a602bd6d2aed1dc3002
-
Trigger Event:
push
-
Statement type: