Results 1 to 5 of 5

Thread: Wait Condition Indication to User Using Loading/Wait Message

  1. #1
    Join Date
    Jul 2012
    Posts
    14
    Thanked 1 Time in 1 Post
    Platforms
    Unix/X11 Windows

    Post Wait Condition Indication to User Using Loading/Wait Message

    hi all,

    i am new to qt .. i am making an application which gives indication to user while application loads form or doing some processing...
    how can i do it ....

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Wait Condition Indication to User Using Loading/Wait Message

    QSplashScreen or QProgressBar are two of the more obvious answers.

  3. #3
    Join Date
    Jul 2012
    Posts
    14
    Thanked 1 Time in 1 Post
    Platforms
    Unix/X11 Windows

    Default Re: Wait Condition Indication to User Using Loading/Wait Message

    yes i did that & also tried playing gif image using qmovie object ... but is it possible by any other way .... like widget painter or graphicsscene

  4. #4
    Join Date
    Oct 2009
    Posts
    483
    Thanked 97 Times in 94 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Wait Condition Indication to User Using Loading/Wait Message

    Of course it is possible. You can run whichever code you want and call that a loading screen. ChrisW67 listed the Qt widgets commonly used for that purpose and that are immediately identified by the user as such. If you prefer to defy conventions and launch a minesweeper game with Beethoven's fifth symphony playing in the background, be my guest.

  5. #5
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Wait Condition Indication to User Using Loading/Wait Message

    I'm thinking that the finale to the 1812 Overture would be a better choice if he's going to launch minesweeper. Synchronization would be an interesting problem.

    There's always

    Qt Code:
    1. QApplication::setOverrideCursor( QCursor( Qt::WaitCursor ) );
    To copy to clipboard, switch view to plain text mode 
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. wait until a variable is set
    By kevindebb in forum Qt Programming
    Replies: 4
    Last Post: 7th May 2012, 06:03
  2. how to set wait condition
    By hema in forum Newbie
    Replies: 5
    Last Post: 25th July 2011, 08:08
  3. How can i terminate a delay / wait condition
    By asinghma in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2011, 14:41
  4. wait the application for some time..
    By mohanakrishnan in forum Qt Programming
    Replies: 3
    Last Post: 9th December 2009, 08:22
  5. Wait for a signal
    By adonel in forum Qt Programming
    Replies: 1
    Last Post: 13th May 2008, 19:53

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.