creating message box as sheets for mac in PyQt

Posted by user971306 on Stack Overflow See other posts from Stack Overflow or by user971306
Published on 2011-11-23T09:26:25Z Indexed on 2011/11/23 9:50 UTC
Read the original article Hit count: 318

Filed under:
|
|

I used message box as seperate dialog instead of sheets for mac OS, now i m working on it to spawn a sheet as message box instead of seperate one.

I have tried setting the message box as a modal one:

(messagebox.setWindowModality(QtCore.Qt.WindoModal))

and setting message box, parent dialog window flags as sheet

(parentDialog.setWindowFlags(QtCore.Qt.Sheet) messagebox.setWindowFlags(QtCore.Qt.Sheet))

But the above commands are not working to create a sheet instead of seperate dialog.

Does anyone have an idea of how to solve?

© Stack Overflow or respective owner

Related posts about python

Related posts about qt