On 04-Dec-02 Richard Jones wrote: > On Thu, 5 Dec 2002 9:28 am, Jim Bublitz wrote: >> On 04-Dec-02 Eli Carter wrote: >> > Ok, this is probably a dumb question, but...
>> > In kde3, I've noticed that there are some 'standard' icons >> > used in the menus for things like '&Quit'. >> > Is there a pre-made QIconSet or QPixmap to grab, or do I need >> > to find the file and load from it? >> >> On a SuSE system, they're most likely under >> /opt/kde3/share/icons/. >> I'd expect a fairly similar location (except rooted somewhere >> other than /opt perhaps) for other distributions. > Don't the icons change according to the user's selected icon set? > How do we hook into that? I'm not really sure - KIconLoader or KIconTheme (or both)? Also, I believe for the toolbar, KStdAction finds the icons automatically if you use that to set up icons and menus. Obviously, custom actions will require custom icons - I think the app's directory under kde3/share is searched for those unless you specify a different path. I haven't looked at this stuff in a while and couldn't find anything poking around quickly. I guess I'd start with the KStdAction and KAction docs and whatever UI design docs are on the KDE web site. I wasn't sure if the original post was in regard to using KDE icons with PyQt or PyKDE. Jim _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde
