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

Add an id "root" by default to the root QML type in the newly created QML file

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • QDS 4.5
    • QDS 4.4
    • Code View, User Experience
    • None
    • 98d133963 (qds/dev)
    • QDS Berlin - 2024 Week 11/12

    Description

      Currently, when you create a new QML file with "Add New > Qt Quick File," the root QML object doesn't have an id.

      I think it's safe to assume that the root level of the QML obejct would have its id as "root" and automatically adding it could save time for the user to manuall y specifiy the id. It may be also better to be just an option for the user if they want to add a root id by default with a checkbox in the dialog for example.

      Attachments

        Issue Links

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

          Activity

            People

              thohartm Thomas Hartmann
              mikio_hirai Mikio Hirai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes