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

Add QDataStream operators to QTextDocument

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.6.2
    • Fix Version/s: Some future release
    • Component/s: GUI: Text handling
    • Labels:
      None

      Description

      Many people ask on forums how to save and load Rich Text with QTextEdit (with images, user object etc). I think you need to add implementation for QDataStream:

      QDataStream& operator<< (QDataStream& stream, const QTextDocument& textDocument)
      QDataStream& operator>> (QDataStream& stream, QTextDocument& textDocument)
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rg Rudolf Grauberger
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes