How to start text from down in QTextEdit
I have a QTextEdit and i want to show text in bottom of QTextEdit
@ARASHz4 I'm sorry. I can't understand you question. What do you mean by "down"?
Well I guess on:
Showing the last text so to speak.
You can make it scroll down by
If that is not what what you mean, then please spend little more time to describe better what you try to do :)
my mean is the pointer start in last line
something like Telegram messenger
You can move the cursor with
QTextCursor textCursor = ui->textEdit->textCursor();
@mrjj I test this but don't work
but I guess you want to curser at the end of your document?
than you'll have to replace
QTextCursor::Start with QTextCursor::End
Well its a sample for "how to move the cursor"
you must look at the doc and understand the code....
Then it will work :)
Thank you to @J-Hilk for doing it for you :)