New QML Busy Snippet Page
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.
Cool :) And by the way you have a pretty nice muse to inspire you about the design ;)
Thanks for sharing,
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.
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.
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.
No, of course I don't mind. Feel free to build on it as you wish. Glad to hear somebody is finding it useful. ;-)
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).
[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 :)