KMultiActionButton

Matthew Woehlke mw_triad at users.sourceforge.net
Tue Dec 5 23:23:54 GMT 2006


Friedrich W. H. Kossebau wrote:
> Am Dienstag, 5. Dezember 2006 23:50, schrieb Aaron J. Seigo:
>> On Tuesday 05 December 2006 15:22, Michaël Larouche wrote:
>>> Can you give a use case of your new widget ? Why would I want to group
>>> actions in toolbar so close to each other ?
>> ah, right, sorry i forgot you can't see inside my head ;)
>>
>> both vista and macos have these things and the purpose is to create greater
>> visual grouping in toolbars between related options. e.g in safari
>> forward/backwards are one "button"; in the new MS office the alignment
>> options (center/left/right/justified) are one "button", etc ...
>>
>> http://www.nawaat.org/portail/IMG/jpg/nawaat-safari-macosX.jpg
>> http://aarakast.de/wp-content/uploads/microsoft-office-2007.jpg
> 
> Given a style like Baghira one has this already, e.g.
> http://baghira.sourceforge.net/pix/ssp/shot10.jpg
> 
> But I guess it is achieved by cheating, perhaps the style has a look whether 
> there is another button or a separator/nothing next to the current button 
> (climbing the object hierarchy), did not check.

Yes, that would be my guess (as one who has done the style-writing 
thing) on how it achieves this. Actually, I think this might not be the 
better way to go. The only thing you lose is the bar separator (because 
it now means 'start a new button group'), but maybe we could add another 
separator type or add a flag to the existing one?

-- 
Matthew
You are in a meadow. A huge red dragon stands before you.
 > FIGHT DRAGON
With what? You don't have any weapons.
 > RUN AWAY
You wisely exercise the better part of valor.





More information about the kde-core-devel mailing list