Results 1 to 5 of 5

Thread: QTextEdit simple question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: QTextEdit simple question

    Quote Originally Posted by Carlton View Post
    This works fine for Qt3, but doesn't for Qt4.2.3
    In Qt 4 you have to use QTextEdit::toPlainText() or QTextEdit::toHtml().

    Quote Originally Posted by Carlton View Post
    I looked through the Trolltech Qt4 examples for QTextEdit, but found no examples where the edited information was saved to a file.
    See the demos/textedit.

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

    Carlton (11th October 2007)

Similar Threads

  1. a simple noob question
    By wrproject in forum Newbie
    Replies: 1
    Last Post: 1st July 2008, 23:25
  2. Simple question about QTextEdit
    By maverick_pol in forum Qt Programming
    Replies: 1
    Last Post: 6th March 2008, 17:52
  3. a question about visualizing cursor in read-only QTextEdit
    By kennyxing in forum Qt Programming
    Replies: 3
    Last Post: 17th September 2006, 19:52
  4. simple question on Class-Members
    By mickey in forum General Programming
    Replies: 7
    Last Post: 4th February 2006, 22:37
  5. QTextEdit Qt4: simple question
    By TheKedge in forum Qt Programming
    Replies: 4
    Last Post: 18th January 2006, 12:03

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.