[Qt-interest] QMessageBox and standart buttons
Thiago Macieira
thiago.macieira at trolltech.com
Thu Jul 16 18:34:25 CEST 2009
Em Quinta-feira 16 Julho 2009, às 17:32:42, NARCISO, Rui escreveu:
> So if i understand it correctly, other than sub-classing QDialog to create
> a MyQMessageBox there is no way to override the platform defaults ...
Correct.
If you want to look like the platform, you can use the static methods in
QMessageBox.
If you want to deviate from what the platform looks like, you have to roll out
your own dialogs.
My suggestion is that you don't deviate. Just accept what the platform looks
like and don't try to tweak it. Don't make your application look different from
everything else. The order of the buttons is especially annoying, since people
are more likely to click the wrong one due to muscle memory.
--
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/5da33318/attachment.bin
More information about the Qt-interest-old
mailing list