Results 1 to 3 of 3

Thread: automatic scrolling text edit

  1. #1
    Join Date
    Sep 2006
    Posts
    13
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default automatic scrolling text edit

    I was wondering if it was possible to have a text edit scroll to the bottom of text automatically when text fills the whole edit box. any help with this would be greatly appreciated.

    -Vash

  2. #2
    Join Date
    Jun 2006
    Location
    Sweden
    Posts
    99
    Thanks
    11
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: automatic scrolling text edit

    Quote Originally Posted by Vash5556 View Post
    I was wondering if it was possible to have a text edit scroll to the bottom of text automatically when text fills the whole edit box. any help with this would be greatly appreciated.
    using the method below seemed to solve the problem for me a while back. let me know if it works for you.

    Qt Code:
    1. void QTextEdit::append(const QString & text) [slot]
    To copy to clipboard, switch view to plain text mode 

  3. The following user says thank you to TheRonin for this useful post:

    Vash5556 (19th March 2007)

  4. #3
    Join Date
    Sep 2006
    Posts
    13
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: automatic scrolling text edit

    Quote Originally Posted by TheRonin View Post
    using the method below seemed to solve the problem for me a while back. let me know if it works for you.

    Qt Code:
    1. void QTextEdit::append(const QString & text) [slot]
    To copy to clipboard, switch view to plain text mode 
    Thanks a lot TheRonin it worked like a charm.

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 10:49
  2. Problem pasting text into a QTextEdit
    By Spockmeat in forum Qt Programming
    Replies: 8
    Last Post: 14th March 2009, 15:36
  3. Editable text in QGraphicsView
    By wysota in forum Qt Programming
    Replies: 8
    Last Post: 24th February 2007, 16:30
  4. visible text of textedit
    By regix in forum Qt Programming
    Replies: 3
    Last Post: 26th June 2006, 10:02
  5. Finding text on Text edit
    By jyoti kumar in forum Qt Programming
    Replies: 2
    Last Post: 18th May 2006, 14:20

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.