New QML Busy Snippet Page
-
wrote on 28 Apr 2011, 09:01 last edited by
Hey all. For info I have just added this page showing a "QML busy indicator":http://developer.qt.nokia.com/wiki/Busy_Indicator_for_QML that you may find useful when writing yoru funky QML creations. All feedback welcomed.
-
wrote on 28 Apr 2011, 11:03 last edited by
Cool :) And by the way you have a pretty nice muse to inspire you about the design ;)
Thanks for sharing,
Leon -
wrote on 28 Apr 2011, 11:17 last edited by
Thanks. Yeah SC2 is a nice game. Just finished the single player missions. Now to get p0wned on battle.net. I used to be a reasonable player on WC3 but I am still clueless on SC2.
-
wrote on 30 Apr 2011, 18:23 last edited by
I've now added to this component with a "SimpleProgressBar":http://developer.qt.nokia.com/wiki/Simple_QML_Progress_Bar and "ProgressSpinner":http://developer.qt.nokia.com/wiki/QML_Progress_Spinner. These will find their way into the "QtDevNet Client":http://developer.qt.nokia.com/forums/viewthread/4491/ shortly.
-
wrote on 24 Jul 2011, 10:27 last edited by
Hello ZapB,
I have just update the article about "busy indicator":http://developer.qt.nokia.com/wiki/Busy_Indicator_for_QML. I have added a simple example how to animate and use your class without QML. I am considering to use it in one of my new applications and I hope that you do not mind.
Thanks,
Leon -
wrote on 24 Jul 2011, 12:24 last edited by
Hi Leon,
No, of course I don't mind. Feel free to build on it as you wish. Glad to hear somebody is finding it useful. ;-)
-
wrote on 24 Jul 2011, 12:27 last edited by
Do you need to explicitly delete the BusyIndicator object? Doesn't the scene take ownership of it when you add it to the scene? So you do not need to implement a destructor in your MainWindow class (the default one will do).
-
wrote on 25 Jul 2011, 19:51 last edited by
[quote author="ZapB" date="1311510265"]Glad to hear somebody is finding it useful. ;-)[/quote]
It is really nice! I already love the spinner :)
[quote author="ZapB" date="1311510443"]
So you do not need to implement a destructor in your MainWindow class (the default one will do).[/quote]OK, fixed. Thanks.
Btw I have performed a couple of other minor and very simple changes at updateSpinner() and paint() which I believe could optimize a little bit the source code. Please when you have time take a look just to make sure I have not ruined anything else unexpectedly with my changes :)