Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Wiki Discussion
  4. New QML Busy Snippet Page

New QML Busy Snippet Page

Scheduled Pinned Locked Moved Wiki Discussion
8 Posts 2 Posters 4.6k Views
  • 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 Offline
    Z Offline
    ZapB
    wrote on last edited by
    #1

    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
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      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
      0
      • Z Offline
        Z Offline
        ZapB
        wrote on last edited by
        #3

        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
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #4

          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
          0
          • L Offline
            L Offline
            leon.anavi
            wrote on last edited by
            #5

            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
            0
            • Z Offline
              Z Offline
              ZapB
              wrote on last edited by
              #6

              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
              0
              • Z Offline
                Z Offline
                ZapB
                wrote on last edited by
                #7

                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
                0
                • L Offline
                  L Offline
                  leon.anavi
                  wrote on last edited by
                  #8

                  [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
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved