[PyQt] simple newb question

Neal Becker ndbecker2 at gmail.com
Fri Aug 8 02:04:14 BST 2008


import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *

app = QApplication (sys.argv)
ret = QMessageBox.question (None, "My App", "You have mail")
print ret

Why doesn't this display any icon?  The docs say that I should see an icon, varying with whether I used '.question', or '.warning', etc.



More information about the PyQt mailing list