Results 1 to 14 of 14

Thread: Busy Indicator using QProgressDialog??

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Busy Indicator using QProgressDialog??

    well, if you try your code
    1. progress.show();
    2. //do what u want...
    3. progress.cancel();

      You will not see the animation in the progress dialog because the event loop would be blocked util your "//do what u want" is finished.

  2. #2
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Busy Indicator using QProgressDialog??

    no, I use my code in a couple of programs and it works.

Similar Threads

  1. busy progress bar without thread ?
    By npc in forum Newbie
    Replies: 34
    Last Post: 23rd July 2009, 09:29
  2. Replies: 2
    Last Post: 22nd January 2008, 15:15

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.