[PATCH] Shorter fullscreen icon text

Allen Winter winter at kde.org
Mon Dec 10 23:50:38 GMT 2007


On Monday 10 December 2007 18:36:01 Aurélien Gâteau wrote:
> Hello,
> 
> Gwenview toolbar is quite wide, a bit too wide for me (and others). One way
> to reduce it a bit is to use QAction::setIconText(), which let you define a
> different text for an action whether it's plugged in the menu or in a
> toolbar. Attached patch uses this feature to reduce the text "Full Screen
> Mode" to "Full Screen" when the standard full screen action is plugged in
> the toolbar.
> 
> Is there an official KDE position on the usage of QAction::setIconText()?
> Do you think this can go in 4.0, even if it adds two new strings?
> 
I use setIconText() often in KOrganizer and KMail.
And aseigo told me too do that a long time ago.

So I think the official position is "use setIconText() as you see fit".

As for the new strings question... you'll have to ask kde-i18n-doc at kde.org,
who I am CC'ing for your convenience.

-Allen






More information about the kde-core-devel mailing list