View Single Post
Old 02-17-2010, 04:44 PM   #21
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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.
kovidgoyal is offline   Reply With Quote