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

QTextDocument should expose a tree model for an outline view

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • GUI: Text handling
    • None

    Description

      Another feature that some word processors have is an outline view. Documents tend to have hierarchical structure: different levels of headings, indented quotes, tables and so on. So it would map naturally to have a QAIM to expose this structure. That could also provide a way of organizing sub-models for tables: if a cell in the outline tree model represents a table, you should be able to get another QAIM from that cell, for the table, which can then be used with TableView etc.

      Word processors sometimes allow outline drag-and-drop to rearrange documents.

      Attachments

        1. screenshot-1.png
          321 kB
          Shawn Rutledge

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes