Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    New QML Busy Snippet Page

    Wiki Discussion
    2
    8
    4118
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      ZapB 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.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply Reply Quote 0
      • L
        leon.anavi last edited by

        Cool :) And by the way you have a pretty nice muse to inspire you about the design ;)

        Thanks for sharing,
        Leon

        http://anavi.org/

        1 Reply Last reply Reply Quote 0
        • Z
          ZapB 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.

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply Reply Quote 0
          • Z
            ZapB 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.

            Nokia Certified Qt Specialist
            Interested in hearing about Qt related work

            1 Reply Last reply Reply Quote 0
            • L
              leon.anavi 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

              http://anavi.org/

              1 Reply Last reply Reply Quote 0
              • Z
                ZapB 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. ;-)

                Nokia Certified Qt Specialist
                Interested in hearing about Qt related work

                1 Reply Last reply Reply Quote 0
                • Z
                  ZapB 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).

                  Nokia Certified Qt Specialist
                  Interested in hearing about Qt related work

                  1 Reply Last reply Reply Quote 0
                  • L
                    leon.anavi 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 :)

                    http://anavi.org/

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post