Feature/expanding animations #297
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context:
I stumbled across the library trying to find some icons for my application and I very much enjoyed it. It provides tons of icons with a versatility that is fantastic for many Qt applications.
However, I feel like the animations are a bit limited and I thought I could help expanding this a bit.
In this PR:
I propose to implement more animations. The logic is the following.
Everything starts from a BaseAnimation class which contains:
From here, we build the rest, each animation only needs to fulfill three methods
The next step is to combine multiple animations. This is done with the CompositeAnimation class in which you can provide a list of animations. The update is then dealt by the CompositeAnimation instead of the based ones.
This code has been developed with the assistance of Claude 3.5 Sonnet (version 4.5).
I do not know the policy here with respect to this but I prefer to be honest about it.