Results 1 to 9 of 9

Thread: to create a circle progressbar

  1. #1
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default to create a circle progressbar

    hi friends,
    i try to use circle progressBar just like in windows ... so please suggest me a clear way ...
    in Qt is there any way to use circle progressbar ..? or i have to customize it manually using QPainter ...
    in paintEvent() what will be an easy way to do it...
    please suggest me a clear idea ... just a outline hint is enough ...

    thanks in advance ...
    "Behind every great fortune lies a crime" - Balzac

  2. #2
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: to create a circle progressbar

    Last edited by toutarrive; 9th March 2010 at 10:39.

  3. The following user says thank you to toutarrive for this useful post:

    wagmare (9th March 2010)

  4. #3
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: to create a circle progressbar

    thanks for the link ... it will be nice if i painted the progressbar like the first link object....
    "Behind every great fortune lies a crime" - Balzac

  5. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: to create a circle progressbar

    You could also go for a simple way... Use a busy cursor animated gif and show that

  6. The following user says thank you to aamer4yu for this useful post:

    wagmare (9th March 2010)

  7. #5
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: to create a circle progressbar

    It would be nice if you could give us some feedback on your implementation...

    Thanks in advance.

  8. #6
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: to create a circle progressbar

    Quote Originally Posted by aamer4yu View Post
    You could also go for a simple way... Use a busy cursor animated gif and show that
    yeah its a good way ... but i am aiming like this .. when user selects some operation
    make the screen black and in middle rotate the progressBar circle until the operatio completes ... it will be good task ...?
    Last edited by wagmare; 9th March 2010 at 10:58.
    "Behind every great fortune lies a crime" - Balzac

  9. #7
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: to create a circle progressbar

    make the screen black and in middle rotate the progressBar circle until the operatio completes ... it will be good task ...?
    You can show a widget fullscreen with semi transparency. In the middle of the widget you can have a QLabel running the gif as a movie, or you will need to do you custom painting.
    Whether to add painting in the full screen widget or create a custom widget and then add it to the full screen widget is your choice.

  10. #8
    Join Date
    Jun 2012
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Windows

    Default Re: to create a circle progressbar

    Quote Originally Posted by toutarrive View Post
    How to make use of first link in QT ? I'm not good at .net forms.

    Any help is appreciated..

  11. #9
    Join Date
    Mar 2011
    Posts
    25
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: to create a circle progressbar


Similar Threads

  1. Replies: 7
    Last Post: 1st March 2010, 17:49
  2. Filling QPixmap as progressbar
    By NoRulez in forum Qt Programming
    Replies: 1
    Last Post: 12th October 2009, 17:01
  3. Indefinite ProgressBar
    By csvivek in forum Qt Programming
    Replies: 2
    Last Post: 15th April 2008, 11:02
  4. how to use progressBar in simple program
    By jyoti in forum Newbie
    Replies: 1
    Last Post: 1st December 2006, 12:16
  5. Progressbar problem
    By thae in forum Qt Programming
    Replies: 4
    Last Post: 4th November 2006, 11:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.