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

Add 'target' and 'property' properties in Behavior

    XMLWordPrintable

Details

    • 276d00cff956cb54612ec425b7c40eb50a20d78a (qt/qtdeclarative/5.15)

    Description

      When writing a custom Behavior, I'd like to get read access to its internal QQmlProperty. It could be exposed as a target QObject property and a property QString property.

      My usecase is having a SequentialAnimation as the anim of the behavior, a PropertyAction using automatically the property of the behavior (this works) and a couple other PropertyAnimation that should animate the same object but a different property. Setting the PropertyAnimation's target to the Behavior's target would help.

      If a PropertyAnimation has either its target or property set, it won't use its default QQmlProperty anymore.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            grecko Pierre-Yves Siret
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes