[Qt-interest] QMessageBox and standart buttons

NARCISO, Rui RUI.NARCISO at airbus.com
Thu Jul 16 18:40:06 CEST 2009


The problem being that in my specifi linux version, the buttons are in the "wrong" order compared to what everyone is used to !!!

Thanks anyways...
Rui

-----Message d'origine-----
De : qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com]De la part de Thiago Macieira
Envoyé : jeudi 16 juillet 2009 18:34
À : qt-interest at trolltech.com
Objet : Re: [Qt-interest] QMessageBox and standart buttons


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

This mail has originated outside your organization, either from an external partner or the Global Internet.
Keep this in mind if you answer this message.



The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other then the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.





More information about the Qt-interest-old mailing list