I need make a loop which will be making until end of QTextEdit so I need know hom many lines somebody wrote in QTextEdit.
I tried:
Qt Code:
for(int i=0; i<textedit.lines(); i++) { }To copy to clipboard, switch view to plain text mode
and:
Qt Code:
for(int i=0; i<textedit.count(); i++) { }To copy to clipboard, switch view to plain text mode
but it doesn't work
Bookmarks