Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. a question from "animatedTitle" example
Qt 6.11 is out! See what's new in the release blog

a question from "animatedTitle" example

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 741 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mahadinM Offline
    mahadinM Offline
    mahadin
    wrote on last edited by
    #1

    hi .
    in "animatedtiles" example of QT , why kineticPix items have overshoot on animation ?
    how can i cancel it ?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VictorLamoine
      wrote on last edited by
      #2

      The animation interpolation is dictated by the property QEasingCurve

      In main.cpp, change the EasingCurve to get rid of the overshoot:

      Change

      anim->setEasingCurve(QEasingCurve::InOutBack);
      

      to

      anim->setEasingCurve(QEasingCurve::InCirc);
      
      1 Reply Last reply
      0
      • mahadinM Offline
        mahadinM Offline
        mahadin
        wrote on last edited by
        #3

        @VictorLamoine
        so tnx ! :)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved