Hi everyone!
Well, my problem is simple:
I want to show a dialog that is containing a ProgressBar, that notices about the progress of a parallel long process, while the user stays working normally on the main window. I would like this dialog in "Find & Replace" style of word-processors.
The manual talks about a :
dialog->setModal(TRUE);
dialog->show();
dialog->setModal(TRUE);
dialog->show();
To copy to clipboard, switch view to plain text mode
but I saw many examples that do not use setModal function, just show().
So I used just show() and the result is that the dialog appears and disappears quickly!
Could it be because of the missing of this piece of code I saw somewhere? :
dialog->show();
dialog->raise();
dialog->activateWindow();
dialog->show();
dialog->raise();
dialog->activateWindow();
To copy to clipboard, switch view to plain text mode
or maybe not. Why this "magician trick" dialog?
Thank you a big lot to who will help!
PS: to apply and test changes I have to wait for a compilation of about three hours long, but I'm starting to have no time left...so please give me straight answers... thanks a lot!
Bookmarks