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

List:       kde-devel
Subject:    Re: kde-app and diabled icons
From:       Thomas.Satzinger () t-online ! de (Thomas Satzinger)
Date:       2001-06-30 22:16:11
[Download RAW message or body]


>
> it doesn't ? have you tried to change the configuration for icon effects
> on KControl ?

yes, but anyhow kde isnīt intersetd in my changes, e.g. i enabled alpha 
blending checkbox, and there is no alpha-blending, after restart kde, 
checkbox is empty again :-((

>
> The extremely correct way is to use the XMLGUI framework to create the
> menu, and using just the icon name in the KAction constructors so that
> the icons are loaded and the effects are applied internally without you
> having to care about anything.

thats what i did.

>
> The not-so-nice way (but also correct) is to use
> SmallIconSet ("name-of-icon"); if you're going to use that iconset in a
> menubar and BarIconSet("name-of-icon"); if it's going to be used in a tool
> bar.
>
> Note that you shouldn't use the name of the _file_ because you shouldn't
> use extensions (nor the path to the file).

i use filenam w/out extebsion

>
> > But I'm not at all sure that is the best way. It seems to work though.
>
> No, it doesn't work. Just ask Torsten :-)
> It will show _really_ugly_ icons if you use it in a system which is
> carefully configured . For example, in a system that is configured to use
> a black&white effect for all the normal icons, your app will show your
> color icons on a completely b&w desktop.
>
> Greetings,
>
> --
> Antonio Larrosa Jimenez
> KDE Core developer  - larrosa@kde.org
> SuSE Labs developer - larrosa@suse.de
> http://perso.wanadoo.es/antlarr
> KDE - The development framework of the future, today.
>
> >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
 
>> Visit http://master.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