[Qt-interest] QMenuBar + add spacer or add a menu at the extreme right sight
Yong Taro
yanicher at gmail.com
Mon Apr 27 05:51:55 CEST 2009
yes,
this is what I'm gonna do,
anyways, I have tried some tricks with the QMenuBar::setLayout() but
they are not working.
thanks
Arnold Krille wrote:
> Hi,
>
> On Sunday 26 April 2009 01:50:48 Yong Taro wrote:
>> is there a way to add a spacer item to QMenuBar or add a menu to
>> the QMenuBar at the extreme right sight ?
>
> On the far right side is the help menu on some systems. Depending on
> the Qt style, yours should be there too (automatically). On some
> other systems, _all_ menus are on the far right! Because their
> reading order is right-to-left.
>
> Both are points why it is really bad to tinker with the layout of the
> menubar on your own as it will break your app a) in all the
> right-to-left countries and b) in all styles where the help-menu is
> right. In short: Stop thinking about it and be glad Qt does the
> layouting for you:-)
>
> Have fun,
>
> Arnold
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________ Qt-interest mailing
> list Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list