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

"Animation on property" usage could be documented better

    XMLWordPrintable

Details

    Description

      The convenient usage of "Animation on x", such as this:

      Rectangle { id: coloreditem
          SequentialAnimation on color {
              ColorAnimation { to: "yellow"; duration: 1000 }
              ColorAnimation { to: "blue"; duration: 1000 }
              ...
          }
      }
      

      may not be immediately apparent to someone aiming to use nested Animations, particularly where the parent can specify which is the target for the animation. In this case, the user is more likely attempt to try ColorAnimation on color {, find that it does not work, and manually specify each target+property for each ColorAnimation.

      Attachments

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

        Activity

          People

            bealam Bea Lam (closed Nokia identity) (Inactive)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes