[PyQt] Getting length of QTextEdit without calling w.toPlainText

Edward K. Ream edreamleo at gmail.com
Mon Nov 3 16:51:49 GMT 2008


It there a way to get the length of the text in a QTextEdit without
calling w.toPlainText()?

Something like w.textLength() would substantially reduce the number of
allocated strings in my app.

Thanks.

Edward
--------------------------------------------------------------------
Edward K. Ream email: edreamleo at gmail.com
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------


More information about the PyQt mailing list