Getting real number of lines (lineCount) of a QTextDocument

Printable View