Animation: Add a manually controlled animator


While it is not going to be a public API, providing a mean to control
the animation manually by setting a frame and without running a timer is
crucial. This allows lancelot tests to run animation test file and get a
stable results.

Change-Id: I8bd1ed4d769954ef751ae2926b7467386f2ecc3a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commitb2c10ea2097037016c7a66ce60d3747386f1d35e
parent759973638818978b275cd4fa6cd857c2015d9c96
authorHatem ElKharashy <hatem.elkharashy@qt.io>
committerHatem ElKharashy <hatem.elkharashy@qt.io>
commit timeMon, 2 Dec 2024 10:12:02 +0200