Results 1 to 2 of 2

Thread: How to Copy/Paste html from a qTextBrowser without formating!

  1. #1
    Join Date
    Mar 2011
    Location
    Denmark
    Posts
    74
    Thanks
    7
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default How to Copy/Paste html from a qTextBrowser without formating!

    When users copy text from my QTextBrowser with ctl-c, I would like it to be copied without formatting, so when they paste it into a word processor it is just plain text.

    How can I force it to copy plain text instead of styled html text?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to Copy/Paste html from a qTextBrowser without formating!

    You can perform the copy yourself.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. copy and paste
    By hubipet in forum Qt Tools
    Replies: 1
    Last Post: 17th July 2009, 06:19
  2. using cut(), copy(), paste()
    By systemz89 in forum Newbie
    Replies: 5
    Last Post: 18th December 2007, 14:47
  3. QTextBrowser paste insertFromMimeData(mimex)
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 18th March 2007, 12:11
  4. Replies: 8
    Last Post: 10th November 2006, 09:39
  5. Copy/Paste in TableView
    By bronte in forum Qt Programming
    Replies: 2
    Last Post: 10th September 2006, 21:36

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.