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
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
