[Development] Documentation for QPagedPrintDevice::setPageSize should specify a unit
Steve Schilz
sschilz at pasco.com
Wed May 4 22:09:03 CEST 2016
Hi, I would like to suggest a small update to the documentation for QPagedPaintDevice::setPageSize(const QPageSize &pageSize)
See https://doc-snapshots.qt.io/qt5-5.7/qpagedpaintdevice.html#setPageSize i
The doc is confusing because it does not specify a unit for the input parameter “pageSize"
According to http://www.qtcentre.org/threads/24684-what-unit-is-used-in-QTextDocument-setPageSize()-method
the page size is given in QPageSize::Point.
This agrees with my testing.
Thanks
Steve Schilz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160504/8b0c2114/attachment.html>
More information about the Development
mailing list