File: README.rst

package info (click to toggle)
python-qpageview 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 788 kB
  • sloc: python: 5,125; makefile: 22
file content (51 lines) | stat: -rw-r--r-- 1,629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
The qpageview module
====================

*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.

.. code-block:: python

    import qpageview

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

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

    a.exec()


`Homepage       <https://qpageview.org/>`_                      •
`Development    <https://github.com/frescobaldi/qpageview>`_    •
`Download       <https://pypi.org/project/qpageview/>`_         •
`Documentation  <https://qpageview.org/>`_                      •
`License        <https://www.gnu.org/licenses/gpl-3.0>`_

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)