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

QTextDocumentFragment creates an internal QTextDocument

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15, 6.5, 6.7, 6.8, 6.9, 6.10, 6.11, 6.12
    • Documentation
    • None
    • All

    Description

      While fundamentally adequate and sufficient, the documentation related to QTextDocumentFragment (in its own class docs or in related ones) may lead to believe that it may be a "simpler" (and possibly faster/lighter) object to use than a QTextDocument in some contexts.

      In reality, that class internally creates a further internal QTextDocument to manage and access the given fragment.

      Despite the fact that the above mentioned contexts may be rare, being aware of such implicitly created objects may be quite relevant, and should be clearly addressed in the documentation.

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            musicamante Maurizio Berti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes