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

Add an invokable dumpObjectAncestorTree() function

XMLWordPrintable

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

      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()

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes