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

implement a runtime frame control

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Quick: Timeline
    • None
    • 5af47a1a80cab4b9119dd815f86b95927b1f2fab

    Description

      Timeline has 'currentFrame' property.

      When reading it, it shows current rendered frame number.

      When writing a value to it, scene moved to the specified frame.

      However, it cannot be controlled at runtime and an initial value is ignored when starting the animation.

      In the attached qml,

      initially an animated square will be placed at around (40, 40).

       

      A red square in the left-bottom will make the animation start/stop when clicking on it.

      A blue square in the right-bottom will try to move the target to (100, 100).

       

      Setting currentFrame cannot affect animation itself, only temporally evaluate the temporal values.

       

      And the patch in gerrit can make it possible to adjust at runtime.

       

       

      Attachments

        For Gerrit Dashboard: QTBUG-112481
        # Subject Branch Project Status CR V

        Activity

          People

            thohartm Thomas Hartmann
            inho Inho Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are 2 open Gerrit changes