Results 1 to 2 of 2

Thread: show a rotating circle when running a busy function

  1. #1
    Join Date
    Oct 2011
    Location
    CHINA
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default show a rotating circle when running a busy function

    Hi~

    In my program I used a time-consumed function from dll, I show a picture before running into this function . I want the picture rotate to indicate a busy state,so I have to change its angle. I tried to use timer to add angle when timeout signal is emited , but I failed . Seems that during this busy function the signal can not be handled. but after this function ended, the picture starts to rotate... So what can I do? Shoud I use a thread to do this ? What's your suggestion?
    Thanks in advance!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: show a rotating circle when running a busy function

    [wiki]Keeping the GUI Responsive[/wiki]
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Busy Indicator using QProgressDialog??
    By qtzcute in forum Qt Programming
    Replies: 13
    Last Post: 6th September 2011, 11:31
  2. Running an external function in a new thread
    By Andrea Landi in forum Newbie
    Replies: 3
    Last Post: 29th May 2011, 04:05
  3. Replies: 0
    Last Post: 31st August 2010, 06:11
  4. Replies: 2
    Last Post: 15th July 2010, 09:00
  5. Application running but doesn't show up!!!
    By joandelason in forum Newbie
    Replies: 4
    Last Post: 21st March 2010, 09:37

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.