Results 1 to 3 of 3

Thread: how to create sliding progress bar ?

  1. #1
    Join Date
    Mar 2006
    Posts
    53
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Smile how to create sliding progress bar ?

    Hi,

    I am using progress bar in my application. I want to set that progress bar keep sliding from left to right and back till the process is over.

    How to set this propery in progress bar ?

    I am using Qt 4.2.2/Windows

    Thanks,
    npc

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to create sliding progress bar ?

    Take a look at the short examples in the detailed description part of the QProgressDialog docs. The approach is exactly the same with a QProgressBar.
    J-P Nurmi

  3. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to create sliding progress bar ?

    When a QProgressBar has both its minimum and maximum properties set to zero (0), then it will be a "wait" bar, that animates back and forth. You can try it in Designer to see.

  4. The following 2 users say thank you to Brandybuck for this useful post:

    npc (28th March 2007), prizident (12th December 2007)

Similar Threads

  1. Two question about create an application.
    By Kenneth in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 19th March 2007, 23:21
  2. how to create resource fork & data fork
    By jyoti in forum General Discussion
    Replies: 4
    Last Post: 28th November 2006, 18:20
  3. Replies: 1
    Last Post: 24th October 2006, 17:40
  4. How to create an Insert/Submit button for a form.
    By fnmblot in forum Qt Programming
    Replies: 5
    Last Post: 4th August 2006, 17:18
  5. Progress Bar to be shown!!!
    By Kapil in forum Qt Programming
    Replies: 7
    Last Post: 23rd May 2006, 10:36

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.