Hi all,
I would like to ask about one thing concerning QTextEdit. When I add a lot of text to the text edit it automatically scrolls so the last line is visible. Howto set that the textEdit should ensure the first line visible?
Thanks,
Kacper
Hi all,
I would like to ask about one thing concerning QTextEdit. When I add a lot of text to the text edit it automatically scrolls so the last line is visible. Howto set that the textEdit should ensure the first line visible?
Thanks,
Kacper
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
Yeah, QTextEdit::append() scrolls automatically. Use QTextEdit::insertHtml() or QTextEdit::insertPlainText() instead if you don't want automatic scrolling.
J-P Nurmi
maverick_pol (6th March 2008)
Bookmarks