Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. circle rotating animation
Forum Updated to NodeBB v4.3 + New Features

circle rotating animation

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 5 Posters 1.7k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    Dimple
    wrote on last edited by Dimple
    #1

    hi guys ,,
    can anybody help me to solve this

    QLabel *lbl = new QLabel;
    QMovie *movie = new QMovie("G:/loader.gif");
    lbl->setMovie(movie);
    lbl->show();
    movie->start();

    we have to make " circle progress bar(circle rotating animation) " can anybody suggest me how to do this?

    raven-worxR 1 Reply Last reply
    0
    • D Dimple

      hi guys ,,
      can anybody help me to solve this

      QLabel *lbl = new QLabel;
      QMovie *movie = new QMovie("G:/loader.gif");
      lbl->setMovie(movie);
      lbl->show();
      movie->start();

      we have to make " circle progress bar(circle rotating animation) " can anybody suggest me how to do this?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Dimple said in loading progress bar:

      can anybody help me to solve this

      it would help us when you tell us what you mean with "this"?
      What isn't working exactly?!

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dimple
        wrote on last edited by Dimple
        #3

        i'am not getting gif image (when i click on a button it shows loading circle image )
        0_1542356139369_giphy.gif

        raven-worxR J.HilkJ 2 Replies Last reply
        0
        • D Dimple

          i'am not getting gif image (when i click on a button it shows loading circle image )
          0_1542356139369_giphy.gif

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @Dimple
          maybe wrong path or the label is just resize improperly ...
          hard to say what going wrong in your context

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          3
          • D Dimple

            i'am not getting gif image (when i click on a button it shows loading circle image )
            0_1542356139369_giphy.gif

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @Dimple what's your loader.gif supposed to look like? because this could clearly be the gif itself :-P


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            3
            • D Offline
              D Offline
              Dimple
              wrote on last edited by
              #6

              @raven-worx : thank you ,,sometimes simpler one ll be complicated,,,,i gave correct path & i did resize ,,,now its showing...
              also i added "imageformat" ( while we installing qt software "plugin" folder has to be created ,,in that we can see imageformat ) to our project bcz without imageformat it doesnt work so hv to add to our project folder...

              jsulmJ 1 Reply Last reply
              0
              • D Dimple

                @raven-worx : thank you ,,sometimes simpler one ll be complicated,,,,i gave correct path & i did resize ,,,now its showing...
                also i added "imageformat" ( while we installing qt software "plugin" folder has to be created ,,in that we can see imageformat ) to our project bcz without imageformat it doesnt work so hv to add to our project folder...

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Dimple Take a look at http://doc.qt.io/qt-5/resources.html

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • H Offline
                  H Offline
                  HuwmTear
                  wrote on last edited by
                  #8

                  @Dimple Bạn đã giải quyết được vấn đề chưa? Mình cũng đang gặp phải trục trặc tương tự thế mà chưa biết giải quyết thế nào?

                  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