[Qt-interest] [possible-spam:3.641]Re: Multiline QMenu
Colin S. Miller
no-spam-thank-you at csmiller.demon.co.uk
Wed Oct 14 14:55:26 CEST 2009
René Möhring wrote:
> Constantin Makshin schrieb:
>> May I ask the purpose of multi-line menu items? Also I think that
>> multi-line menu items are somewhat counter-intuitive and may confuse users.
>>
>> On Mon, 12 Oct 2009 15:59:16 +0400, René Möhring
>> <rene.moehring at accellence.de> wrote:
>>> I need a menu that can hold items an submenus that span two lines (have
>>> a linebreak in them). Simply putting a line break into the string does
>>> not help. Do you hav any idea how to to this?. I have attached a sketch
>>> of my idea.
>>>
>>> Thanks
> You may but wont get a good answer. The customer wants it that way. And
> yes your are right, it is strange and counterintuitive. Nevertheless I
> need to do it.
>
René,
I'd suggest deriving a focusable QLabel widget, and adding that to the menu.
However, if the target is MacOS, then this is unlikely to work.
HTH,
Colin S. Miller
More information about the Qt-interest-old
mailing list