LottieVisitor: extract a common scalar anim registration function


Avoid repeated code by factoring out the recoding of a animated lottie
scalar property to a QQuickAnimatedProperty. Use it for both the trim
path properties and for fill and stroke opacity properties.

Change-Id: I9f5775dd3c5dd2ab8ac129775c25101a1dd63f50
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit6f2191c67efd4ae1aa17e77f34f2411a0a924ead
parentc4071f9bcb2c2ca3dfa30663bd9137d9105b3b52
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeFri, 27 Mar 2026 12:43:31 +0100