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

List:       kde-commits
Subject:    Re: kdebase/kcontrol/display
From:       Geert Jansen <g.t.jansen () stud ! tue ! nl>
Date:       2000-04-01 9:27:52
[Download RAW message or body]

Kurt Granroth wrote:
> CVS by faure wrote:
> > Oh, this will solve the toolbar size problem apparently - looks like
> > KToolBar should completely drop using Small/Medium/Large, since this
> > is configured from here.
> 
> I disagree completely!  What if the user wants to change the size of
> the icons for an individual application on the fly?  Even more, the
> toolbar editor allows the user to permanently change the icon size for
> an individual application.  If we *always* obey the global setting,
> then we are removing a lot of power from the user...

I think that the default should be to honour the global icon size settings.
Application can still override them, but should not do that by default.

Kurt, you are maintinging the XMLGUI/toolbar stuff, right? Are you gonna
implement this?

A small tip: loading a default toolbar icon:

pm = loader->loadIcon("filenew", KIcon::Toolbar)

loading a toolbar icon by size:

QValueList<int> = loader->theme()->querySizes(KIcon::Toolbar);
// pick one
pm = loader->loadIcon("filenew", size);

Greetings,
-- 
    Geert Jansen                       email: <g.t.jansen at stud.tue.nl>
    Phylosopher, Physicist,                    email: <jansen at kde.org>           
    KDE enthusiast                                 PGP key ID: 0xD2B5E7CE            

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

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