Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1070

Add tips how to create longer than 1 second animation to safety manual

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • QSR 1.2
    • QSR 1.2
    • Documentation
    • None
    • I9a11060ee66922361279d58a07749f64a9dcd130

    Description

      Please find a suitable page in the safety manual for providing the tip to the user how to enable longer animations than 1000 ms.

      If there is no natural place in some pages, the FAQ section can be updated accordingly.

      Related constraint that can be modified:

      https://doc-snapshots.qt.io/qtsaferenderer/saferenderer-constraints.html#MAX_ANIMATION_STEPS-var

       
      Note: The maximum length of animation is defined as a combination of ANIMATION_TIMER_TICK_IN_MS and MAX_ANIMATION_STEPS. For example, if ANIMATION_TIMER_TICK_IN_MS is 16 milliseconds and MAX_ANIMATION_STEPS is 64 frames per second, the maximum length of animation is 1024 milliseconds.
       
      If user wants to update the MAX_ANIMATION_STEPS to bigger number (e.g. 128 for 2 seconds, 256 for 4 seconds etc).
      And the duration in the QML must be then set accordingly, e.g. instead of 1000 ms, set it to 2000 ms or 3000 ms respectively.
      {{}}
      {{}}
      After changing the value, user must rebuild the QSR.
      {{}}
      {{}}

      Attachments

        For Gerrit Dashboard: QSR-1070
        # Subject Branch Project Status CR V

        Activity

          People

            tarjasundqvist Tarja Sundqvist
            assaarel Asmo Saarela (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes