De-duplicate transform animation handling


Use a template function to share the code for converting from
Lottie properties to transform animations.

Pick-to: 6.10
Change-Id: Id8d5369e00c4bf9ef09aab131245daa42fe4f891
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit18971de4ab160db2035ae7ebf4fbb8f602e1b4c9
parent18f31a18e948f5d64ac8380e120b8b696f3c970e
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeMon, 25 Aug 2025 12:09:59 +0200