I'm trying to display a message box but I do not want it to block, How can I accomplish this.
msgBox.setWindowTitle("Loading ....");
msgBox.setText("Reading Files, please wait ...");
msgBox.open();
// Run Stuff
msgBox.close();
QMessageBox msgBox(this);
msgBox.setWindowTitle("Loading ....");
msgBox.setText("Reading Files, please wait ...");
msgBox.open();
// Run Stuff
msgBox.close();
To copy to clipboard, switch view to plain text mode
If I use open() or show() the messagebox never shows up. If I use exec(), it does show up, but it blocks.
The only way I got something like this to works is if I use ProgressDialog but then I need to use the progress bar. Unfortunately the task am doing is a shell call which provides no status.
Bookmarks