Animated icons
-
Is it possible to make an icon animated in QML? When I use widgets I can create a
QMovieobject and bind button's icon to it's current frame. Can I do something like this in QML?
I can assignicon.sourceproperty to a gif file, but only the first frame would be seen than -
Hi, @Yunus !
Yes, sure, I have googled some info about and also tried to use it. ButAnimatedImageis a visual component (unlikeQMovie), so I only can use it instead ofToolButton. But all I need is to get a button's look and behavior and the opportunity to change it's icon using existing gif file -
You can customize contents of
ToolButtonand useAnimatedImageas well. -
You can customize contents of
ToolButtonand useAnimatedImageas well.@IntruderExcluder Can you give me a small code snippet, please?
-
Qt lottie might be an option. That's exactly its purpose