trunk

Ben Cooksley sourtooth at gmail.com
Wed Apr 29 05:39:57 BST 2009


On 4/29/09, Parker Coates <parker.coates at gmail.com> wrote:
> On Tue, Apr 28, 2009 at 1:12 AM, Ben Cooksley wrote:
>> On 4/28/09, Christoph Feck <christoph at maxiom.de> wrote:
>>> The actions are all in different toolbars, so if I want to change the
>>> tool
>>> bar icon size/text position, I have to do it multiple times.
>> Unfortunately, it isn't possible to hide individual elements of
>> toolbar, other than remove them, which will break the ordering of
>> toolbar items. Removing them also happens to delete them, meaning I
>> would have to rebuild all the toolbars when the view wanted to change
>> a single toolbar item.
>>
>> If it is possible, then I can't see it. As a result I introduced
>> multiple toolbars.
>
> You might be able to do what you want using pluggable action lists.
That worked perfectly! Thanks. I now can use one toolbar again, and
have been able to simplify the code that handles the views actions
also.
>
> See the KPat toolbar for an example. (See kpatui.rc and
> updateGameActionList()
>  in pwidget.cpp)
This was very helpful, thanks for the tip.

>
> Parker
>

Ben Cooksley




More information about the kde-core-devel mailing list