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

Add a convenience fonction to reverse the direction of the animation

    XMLWordPrintable

Details

    Description

      It would be useful to have a way to easily change the direction of an animation, and still ensure that the direction of the animation is "Forward" when the animation is finished.

      For a practical use case, have a look at the anomaly browser demo, file BrowserWindow.cpp. The functions "void BrowserWindow::keyReleaseEvent(QKeyEvent *event)" and "void BrowserWindow::animationFinished()" could be simpler with such a function.

      Suggestions for the name:
      ::reverse()

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            poulain Benjamin Poulain (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes