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

QQmlLSUtils::resolveExpressionType() support for AttachedPropertyIdentifier

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • 6.9
    • None
    • QML: Tooling
    • None

    Description

      Introduce a new QQmlLSUtilsIdentifierType AttachedPropertyIdentifier to distinguish between attached properties (AttachedPropertyIdentifier) and attached types (AttachedTypeIdentifier). Currently, everything attached is a AttachedTypeIdentifier, which means that we can't distinguish "Keys" from "onPressed", for example on

      Item { Keys.onPressed: ... }

      Currently, one can do "find usages" on "onPressed" and get the right result, but "find usages" on "Keys" does not find usages of the "Key" attached property.

      Attachments

        Issue Links

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

          Activity

            People

              sami.shalayel Sami Shalayel
              sami.shalayel Sami Shalayel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes