Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76

Allow copying custom text instead of QChar::ObjectReplacementCharacter

XMLWordPrintable

      If you add QChar::ObjectReplacementCharacters coupled with your custom QTextCharFormat, it's not possible to replace those ObjectReplacementCharacters with meaningful text, even if that would be the right way to do (when trying to implement a widget to display chat history, with emoticons, which are replaced from '' and the like text patterns).

      But if you have already registered your own QTextObjectInterface handler for custom QTextCharFormat, and probably it could be extended to return meaningful HTML markup instead of simple ObjectReplacementCharacter.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            shausman Simon Hausmann
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes