[Qt-interest] QTextDocument documentation shortcoming / bug

Kaleb Pederson kaleb.pederson at gmail.com
Fri Aug 14 23:23:55 CEST 2009


What are the units associated with QTextDocument::size (or textWidth,
or idealWidth)? Is it pixels, inches, centimeters, etc.?

Part of the documentation for textWidth reads, "If the text (or
content in general) is wider than the specified with [sic] it is
broken into multiple lines and grows vertically."  Note that with
should be width.

Thanks.

--Kaleb



More information about the Qt-interest-old mailing list