[Interest] Can QML do this animation?

Arthur Buldauskas whinemore at gmail.com
Sat Feb 28 05:13:17 CET 2015


Yeah, I started working on the drain animation for failure but scrapped it.
So its just the successful animation that is finished.

On Fri, Feb 27, 2015 at 1:57 PM, Gunnar Roth <gunnar.roth at gmx.de> wrote:

>
> Thanks a lot for this nice example.
> I just could not get to work it doing failure case.
>
> var amount = [ 18, 10, 15, 57 ];//insert -1 to cause failure
>
> inserting -1 here just shortens the animation, still done is shown not
> fail.
>
> Regards,
> Gunnar Roth
>
> Am 27.02.2015 um 16:12 schrieb Arthur Buldauskas <whinemore at gmail.com>:
>
> Wow, that's amazing! Thank you very much for doing this.
>> It sure is quite a lot of QML code for something that looks so simple
>> (and cool).
>> Just curious about two things:
>> 1. Is there any reason why you mailed it me directly and not the mailing
>> list? I think others would like this as well.
>> 2. Under what license do you "release" this? I don't have any direct
>> plans to use it, but i probably will use parts of it in some projects (like
>> my file manager, Accretion, where i would probably use this as a copy
>> progressbar).
>> Best regards,
>> Mark
>
>
>
>> Btw. disabling the line:
>> rotation: indicator.rotation;
>> makes it look even better :)
>> The text now actually rotates with the indicator.
>
>
> My bad, forgot to reply all. Feel free to use the code, I just made this
> as a fun exercise. It could be a lot cleaner and probably smoother. A lot
> of the code is just making sure the indicator animates properly.
> http://pastebin.com/cwCPChLk
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150227/31d30df8/attachment.html>


More information about the Interest mailing list