Quote:
Originally Posted by kovidgoyal
Do the following:
Code:
d = QMessageBox(QMessageBox.Warning, 'title', 'message')
d.show()
d.raise_()
I was wrong earlier, the import plugins are run in the same process as the GUI, so the boxes will stick around after the adding dialog is closed. This way, the user will be informed and the adding process wont be interrupted.
|
That doesn't seem to show the messagebox at all. but I found that
d.show()
d.raise_()
d.exec_()
did bring the MessageBox to the front of the "Adding..." dialog.
If I could find a way to leave messages up in a non-modal fashion behind the "Adding..." dialog, I can ses that that would be better for when people want to import loads of files and just leave it running.
But I'm happy for now.