Results 1 to 8 of 8

Thread: QTextEdit + auto scroll

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QTextEdit + auto scroll

    Quote Originally Posted by jbpvr View Post
    I have a QTextEdit displaying data that is being written to a log file( at the same time)

    I would like for the new data that is being added to the QTextEdit to always be visible when
    new data is coming, but currently you have to scroll to the data to see it. Is there a way to have it scroll down to the bottom of the page always when data is being inserted.

    Thanks,
    insert data at top .... like prepend .... or move connect to a http://doc.trolltech.com/4.2/qscrollbar.html
    example to connect on ...
    http://qt-webdav.svn.sourceforge.net...v/html_editor/
    svn co https://qt-webdav.svn.sourceforge.net/svnroot/qt-webdav qt-webdav

    on this small html editor 2 QTextEdit is connected to display line nr on source view....

  2. The following user says thank you to patrik08 for this useful post:

    jbpvr (8th March 2007)

Similar Threads

  1. QTextEdit, sizeHint, QWidget
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 3rd February 2007, 08:25
  2. QScrollArea's Scroll Bars
    By ToddAtWSU in forum Qt Programming
    Replies: 5
    Last Post: 19th September 2006, 13:27
  3. QTextEdit API questions (plain text)
    By Gaspar in forum Qt Programming
    Replies: 4
    Last Post: 16th May 2006, 06:03
  4. Retrieving offsets of scroll in QWorkspace
    By hardgeus in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 02:25
  5. [QT 4] QTextEdit performance
    By fellobo in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2006, 19:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.