[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Problem with messagebox
From: Maurizio Colucci <maurizio.colucci () gmail ! com>
Date: 2005-08-02 17:43:43
Message-ID: e919163f0508021043152fb625 () mail ! gmail ! com
[Download RAW message or body]
2005/8/2, Roberto Alsina <ralsina@kde.org>:
> QMessageBox.question returns an integer:
>
> 0 if you click the first button
> 1 for the second (if there is one)
> 2 for the third (if there is one)
> [...]
> It will return 1 in Yes, 0 in No.
>
> This behaviour is exactly like the C++ version.
Thank you Roberto. However, the Qt help page seems to contradict you:
"QMessageBox.question() returns the identity (QMessageBox::Yes, or
QMessageBox::No, etc.) of the button that was clicked.".
http://doc.trolltech.com/3.3/qmessagebox.html#question
How is this possible?
Sincerely,
Maurizio
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic