Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20161

Base TimelineModel on AbstractItemModel

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FlameGraph & Timeline
    • Labels:
      None

      Description

      Each item would become a row, the various attributes of the items (duration, startTime, selectionId ...) would become columns. The details shown in the Details window would be children of the respective cell for the item, the Location cell would have roles for FileName, Line, Column.

      This would allow us to dynamically add things to the model without constantly rebuilding everything. Therefore, we'd have a step on the way to live profiling. Also, it would allow us to get rid of the hack currently needed to transfer the details to the QML code.

      The labels would be a separate model with actual rows as rows, and columns for displayName, description and id.

        Attachments

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

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes