[PATCH] "Show only important text" mode for toolbars

Peter Rockai (mornfall) mornfall at danill.sk
Wed Sep 22 03:20:26 BST 2004


Hello!

I spoke with Aaron yesterday on IRC about toolbar plans for 3.4 and I asked 
what about the text-alongside-icons mode and overly long texts. He suggested 
adding a flag like textImportant to the actions and a checkbox (and toolbar 
context menu item) to show/hide "unimportant" texts. This is an initial 
implementation, sticking the "text important" flag to KAction. It should be 
fairly complete, with toolbar configuration handling and everything. I'd be 
happy if someone could review the patch. I have done some amount of testing 
with various apps, but i'm not 100% of it (given it's past 4 am already). 
Also, i'm not sure if the result of IconTextBottom mode and KToolBar's 
iconTextImportant flag being both in effect at the same time is optimal.

Attached are patches for kdelibs/kdeui and kdebase/kcontrol/style.

Yours,
    Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdeui.diff
Type: text/x-diff
Size: 13747 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040922/936c9cfa/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kcontrol-style.diff
Type: text/x-diff
Size: 3927 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040922/936c9cfa/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040922/936c9cfa/attachment.sig>


More information about the kde-core-devel mailing list