[PyQt] Access to lines of text on textEdit.

Henning Schröder post at henning-schroeder.de
Tue Sep 14 03:24:52 BST 2010


On Tue, Sep 14, 2010 at 4:14 AM, Algis Kabaila <akabaila at pcug.org.au> wrote:
> Alas, I was not able to use or find findBlockByLineNumber.
If you enter findBlockByLineNumber in Qt Assistant you will see that
this method  belongs to a QTextDocument object and returns a
QTextBlock object QTextEdit has a method called "document()" which
returns a QTextDocument.

Henning


More information about the PyQt mailing list