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

Outline View: Always show QML IDs at the objects' root node

XMLWordPrintable

      See https://doc.qt.io/qtcreator/creator-outline-view.html

       

      Code

      import QtQuick
      import QtQuick.Controls.Basic
      
      Window {
          id: root
          width: 800
          height: 600
          visible: true
      
          Button {
              id: btn_start
              text: "Start"
          }
          Button {
              id: btn_pause
              text: "Pause"
          }
          Button {
              id: btn_stop
              text: "Stop"
          }
          Button {
              text: "Anonymous"
          }
      }
      

       

      Current output
      When we collapse an item, we can no longer differentiate it from siblings of the same type:

       

      Suggested output
      Ensure that the ID is always visible, whether collapsed or not:

       

      Notes

      • If we uncheck "Show All Bindings", then the view is very similar to the suggested Collapsed view
      • A QML ID is not a property anyway, so it shouldn't be treated as one

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

            qtqmlteam Qt Qml Team User
            skoh-qt Sze Howe Koh
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes