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

Add an invokable dumpObjectAncestorTree() function

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P4: Low
    • None
    • 5.11
    • Core: Object Model
    • None

    Description

      dumpObjectTree() only prints the object's children, not its parents. Printing the ancestory of an item is useful when you're trying to find out which object it is (especially useful in QML where objects like controls are composed of many other objects, and don't have objectNames set).

      The object tree printed could be quite large, so one option might be to only print the ancestors that lead to the object.

      Alternative names:

      • dumpObjectAncestry()
      • dumpObjectAncestryTree()
      • dumpObjectParentTree()

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes