PDA

View Full Version : Problem for slow operations in Qt program



maxoreli
16th June 2011, 13:40
hi,I 'm working on a program and i have some problems about performance of my projet.
By example, during running of my program, if i want show a widget(to screen) ,it take long time before which widget become visible,or ,i make send a result to user that's make long time too.
I want ,during this long time , show a dialog which
is used to give the user an indication of how long an operation is going to take, and to demonstrate that the application has not frozen
Thanks for advance

Rachol
16th June 2011, 13:44
Use QProgressDialog

joyer83
16th June 2011, 13:45
Well, first you should do something to make the GUI more responsive. Moving your slow operations to another thread from the main thread should fix that.