diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2019-04-08 13:25:54 +0200 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2020-04-09 16:45:32 +0200 |
commit | 926a0886d1961a3f384d3e6c36919e6dd8055dce (patch) | |
tree | 8512058bcec7250a4828f9244b4b431c02eecfa7 /src/gui/CMakeLists.txt | |
parent | 4c66b75c894cf2cc7ec15896729d0f93de92f310 (diff) |
Support multiple page ranges in QPrinter
Add a new QRangeCollection type to store and manage
multiple page ranges. This moves out the parser and validator
logic from the platform dependent (UNIX) dialog and makes it
publicly available from QPrinter.
This improves the usability of QPrinter in those applications
which doesn't use print dialog to configure printer.
(e.g.: QTextDocument, QWebEnginePage)
Change-Id: I0be5a8a64781c411f83b96a24f216605a84958e5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/gui/CMakeLists.txt')
-rw-r--r-- | src/gui/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index ae86e5edf2..eaf24bc658 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -186,6 +186,7 @@ qt_add_module(Gui painting/qplatformbackingstore.cpp painting/qplatformbackingstore.h painting/qpolygon.cpp painting/qpolygon.h painting/qpolygonclipper_p.h + painting/qrangecollection.cpp painting/qrangecollection.h painting/qrangecollection_p.h painting/qrasterdefs_p.h painting/qrasterizer.cpp painting/qrasterizer_p.h painting/qrbtree_p.h |