Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9747

Automatic object names for all components user can interact

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • None
    • Qt Analytics
    • None

    Description

      Why
      Qt Insight uses object names to distinguish objects from each other.
      Qt Insight WebConsole is also relying on object names when visualising data.

      What
      Qt Design Studio should add object names automatically to all user interactionable types in the project.

      • This should be hooked into the Qt Insight On/Off toggle so that when it's enabled, the whole project is parsed through and object names are added automatically.
      • When the project is parsed and processed, a progress bar and possibly a list of modified files should be presented to the user.
      • Object name generation could be following pattern <fileName>+<objectId> or something similar that would be project wide unique.

      List of types that should get object name set automatically

      • Quick Controls
      • ...

      Open items

      • Which of the types should get the objectName set. e.g. MouseArea itself is not interesting but the component it has been set to.
      //button's objectName is interesting not MouseArea's
      Rectangle { 
          id: button 
          objectName: "generated" 
          MouseArea { 
              anchors.fill: parent 
          } 
      }
      

      Attachments

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

        Activity

          People

            henning Henning Gründl
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes