Results 1 to 9 of 9

Thread: Problem pasting text into a QTextEdit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem pasting text into a QTextEdit

    Excuse my english)

    I have some problem with Qt 4.4.3.
    I know, that it happens because QMimeData::html(), which is used by QClipboard do not convert line-breaks to spaces, as any browser or rich text editor does.
    I temporary use QString::simplified(), but it isn't a solution at all because of unwanted trimmings.

    Anyone can help?

  2. #2
    Join Date
    Feb 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem pasting text into a QTextEdit

    Quote Originally Posted by crazY View Post
    I have some problem with Qt 4.4.3
    I have the same problem

  3. #3
    Join Date
    Feb 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem pasting text into a QTextEdit

    Solved in Qt 4.5

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 10:49
  2. How to get text of last line only in QTextEdit?
    By rajesh in forum Qt Programming
    Replies: 2
    Last Post: 12th June 2006, 14:37
  3. setting cursor problem in QTextEdit
    By jyoti kumar in forum Qt Programming
    Replies: 3
    Last Post: 19th May 2006, 09:17
  4. QTextEdit API questions (plain text)
    By Gaspar in forum Qt Programming
    Replies: 4
    Last Post: 16th May 2006, 07:03
  5. Problem with inserting text into QTextEdit
    By xorrr in forum Qt Programming
    Replies: 0
    Last Post: 6th February 2006, 12:45

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.