KMenu title is navigable with the keyboard

Hugo Pereira Da Costa hugo at oxygen-icons.org
Wed Nov 18 00:01:37 GMT 2009


On 11/17/2009 04:11 PM, Albert Astals Cid wrote:
> A Dimecres, 18 de novembre de 2009, Fredrik Höglund va escriure:
>    
>> On Tuesday 17 November 2009, Christoph Feck wrote:
>>      
>>> On Tuesday 17 November 2009 23:00:03 Albert Astals Cid wrote:
>>>        
>>>> When doing addTitle over a KMenu one gets a entry in the popup menu
>>>> that is a title and so can't be clicked over and does not react to
>>>> mouse clicks, but it can be "focused" with up/down keys and "activated"
>>>> with Enter (popup closes)
>>>>
>>>> Is this on purpose or a bug?
>>>>          
>>> Bug 169059.
>>>        
>> QMenu supports titles in Qt 4, but it hides it well.
>>
>> What you do is call QMenu::addSeparator(), and set the text and icon
>> properties in the returned action.
>>
>> The widget style will then draw the separator as a title.
>>
>> Note that Oxygen doesn't implement this feature, so if you want to try
>> this you'll have to test it with Plastique.
>>      
> Oxygen dudes, do you think you can support that feature for 4.4?
>    
pretty sure.
I think I know where we break it. in fact.
might be in trunk by tomorrow.

> Albert
>
>    
>> Regards,
>> Fredrik
>>
>>      
>    





More information about the kde-core-devel mailing list