[Qt-interest] QMessageBox and standart buttons

Thiago Macieira thiago.macieira at trolltech.com
Thu Jul 16 17:12:38 CEST 2009


Em Quinta-feira 16 Julho 2009, às 16:36:24, NARCISO, Rui escreveu:
> >From the documentation, the order in which the buttons are presented in
> > the static functions: QMessageBox.question(), etc is platform
> > dependant...
>
> Is there no way to override this behaviour without having to recreate a
> QMessageBox from scratch?

Hi Rui

You can create your own dialogs with QDialog. But if you use the static 
functions from QMessageBox, Qt will try to use the platform dialogs whenever 
available and look as closely as possible to that platform if there's no API.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090716/abc1134c/attachment.bin 


More information about the Qt-interest-old mailing list