[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Using ToolButtonIconOnly as default for KToolBar
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-05-20 22:48:48
Message-ID: 20080520224848.GB19285 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 21.05.08 00:25:18, Joachim Eibl wrote:
> Hi,
> 
> We (Valentin Rusu and me) are porting KDiff3 to KDE4.
> (/trunk/playground/devtools/kdiff3)
> 
> My problem is that the new default style for KToolBar has text under the 
> icons. KDiff3 has long action texts, so I'd like the default to be without 
> texts.
> 
> I managed to change the toolButtonStyle after calling createGUI()
> KDiff3Shell::KDiff3Shell( bool bCompleteInit )  : KParts::MainWindow( )
> {
> ...
>       createGUI(m_part);
>       toolBar()->setToolButtonStyle( Qt::ToolButtonIconOnly );
> 
> But now the value isn't persistent if adjusted by the user. After restarting 
> KDiff3 the old value is back.
> 
> Is there a way to just set the default toolButtonStyle?

If toolbar actions with text are too large, you have too much text in
them and too many of them. The toolbar should contain only very few
items with very short text so its fast to find the right item to click
on.

Andreas

-- 
Artistic ventures highlighted.  Rob a museum.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic