[PyQt] simple newb question
Phil Thompson
phil at riverbankcomputing.com
Fri Aug 8 09:07:36 BST 2008
On Thu, 07 Aug 2008 21:04:14 -0400, Neal Becker <ndbecker2 at gmail.com>
wrote:
> 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.
Works for me.
Phil
More information about the PyQt
mailing list