summaryrefslogtreecommitdiffstats
path: root/src/printsupport/doc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-11-03 21:27:02 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-11-04 06:57:29 +0100
commit255cc9abfbc5bb8fd91b6ba5f2d8e82a62c2f96f (patch)
treea3b4ef01fb3990eb71444743720413ec865599d0 /src/printsupport/doc
parent317145af84c055cf019c84b9090f53bd8c61c5da (diff)
Initial porting guide for QtGui and QtPrintSupport
Additional porting documentation for QtWidgets. Task-number: QTBUG-88149 Task-number: QTBUG-88151 Change-Id: Ia28f01a8d8d6eaee9d8f08af1a54b76e57620cab Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/printsupport/doc')
-rw-r--r--src/printsupport/doc/src/qt6-changes.qdoc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/printsupport/doc/src/qt6-changes.qdoc b/src/printsupport/doc/src/qt6-changes.qdoc
index 88b77b3759..cf38c741dc 100644
--- a/src/printsupport/doc/src/qt6-changes.qdoc
+++ b/src/printsupport/doc/src/qt6-changes.qdoc
@@ -41,6 +41,12 @@
In this topic we summarize those changes in Qt Print Support, and provide
guidance to handle them.
- \section1 ADD STUFF HERE
+ \section1 General API consolidation
+ The various enums and types for \l{QPageSize}{page sizes},
+ margins, and orientation have been consolidated. QPrinter APIs to set
+ paper sizes and margins explicitly have been removed; use
+ QPagedPaintDevice::setPageLayout(), QPagedPaintDevice::setPageSize(),
+ QPagedPaintDevice::setPageOrientation(), and
+ QPagedPaintDevice::setPageMargins() instead.
*/