[Qt-interest] QMessageBox Auto Close

Anatoly Burakov burakov.anatoly at googlemail.com
Fri Mar 19 13:40:24 CET 2010


On 19/03/10 12:21, Paolino Marmolaro wrote:
>  
> Hi,
>  
> I need to show a MessageBox that closes itself after a number of seconds
> if the user does not choose any button.
> Searching the archives, I found some old messages without a positive
> response.
> there is something supported in the latest framework?
> thanks.

QMessageBox is nothing more than a special case of QDialog. You can
inherit QMessageBox and add QTimer to it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5238 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100319/4a453394/attachment.bin 


More information about the Qt-interest-old mailing list