View Single Post
Old 02-17-2010, 04:27 PM   #20
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,103
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
You're using a pre-built messagebox, in that case raise wont work. WHat you have to do is construct your own messagebox and call raise_ on it

Code:
d = QMessageBox(QMessageBox.Warning, 'title', 'message')
d.raise_()
d.exec_()
This runs OK, but my message box is still hidden behind the Adding... box.

I've attached a very simple plug-in that demonstrates the problem. I have no notion of how to get any further with this.
Attached Files
File Type: zip Demo_plugin.py.zip (1.1 KB, 277 views)
pdurrant is offline   Reply With Quote