[Qt-interest] QMessageBox and standart buttons

Constantin Makshin dinosaur-rus at users.sourceforge.net
Thu Jul 16 21:05:21 CEST 2009


If a "problem" is specific to your system, then there's something "wrong"  
with your system and not Qt.

I second Thiago -- the idea to set such platform-specific things like the  
order of common dialog buttons to what looks "right" to you is bad.

On Thu, 16 Jul 2009 20:40:06 +0400, NARCISO, Rui <RUI.NARCISO at airbus.com>  
wrote:
> 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.

-- 
Constantin "Dinosaur" Makshin



More information about the Qt-interest-old mailing list