Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QPageSize & QPageLayout Units: is there text? locale-specific text?
sideways last edited by
There are two identical enumerations: QPageSize::Unit and QPageLayout::Unit. I need text for those units, e.g. "inches" or "inch" for QPageSize::Inch. Additionally I need abbreviated suffix text, e.g. "in" for inches, as in "8.5in x 11in". I don't see this available anywhere in Qt, so I'm asking here to see if I'm missing something or if I need to build it myself. QPageSize has locale-specific text for the preset page sizes is supports, but I see nothing relating to units text.