[PyQt] Re: simple newb question
Neal Becker
ndbecker2 at gmail.com
Fri Aug 8 11:56:42 BST 2008
Phil Thompson wrote:
> 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
Not for me: Fedora F9 qt-4.4.0-16.fc9.x86_64 PyQt4-4.4.2-2.fc9.x86_64
More information about the PyQt
mailing list