> As an application developer, I don't have access to TextArea scroll > bars/decorators/position. This makes it rather awkward to append text in the > end and to scroll automatically _if appropriate_.
Wouldn't it be more useful to have methods to get the current scrollbar position, and to scroll at any given point? On Fri, Apr 1, 2011 at 3:49 PM, <j-p.nu...@nokia.com> wrote: > Hi, > > As an application developer, I don't have access to TextArea scroll > bars/decorators/position. This makes it rather awkward to append text in the > end and to scroll automatically _if appropriate_. > > Therefore I'm suggesting to add TextArea.append() method, which does exactly > the same as QTextEdit::append() does ie. automatically scrolls ONLY AND ONLY > IF the vertical scroll bar is at the end by the time of appending more text: > http://qt.gitorious.org/qt/qt/blobs/4.7/src/gui/widgets/qtextedit.cpp#line2614. > > This is a must feature for anyone willing to implement for example any kind > of chat or log viewer that receives content in non-interactive manners. > > -- > J-P Nurmi > > > _______________________________________________ > Qt-components mailing list > Qt-components@qt.nokia.com > http://lists.qt.nokia.com/mailman/listinfo/qt-components > -- Gregory Schlomoff http://www.gregschlom.com _______________________________________________ Qt-components mailing list Qt-components@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-components