[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Information on resources
From: Michael Pyne <pynm0001 () comcast ! net>
Date: 2004-04-30 22:29:33
Message-ID: 200404301829.39793.pynm0001 () comcast ! net
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 30 April 2004 18:05, Alan Bryan wrote:
> Can someone tell me where I could find online a good
> resource for how KDE 3.0's resource management works?
> By resource management, I'm referring to the way
> pictures, toolbars, menus, and icons are including and
> should be distributed with an application.
Menus and toolbars are generally handled by KDE's XML-GUI technology. There
is a short tutorial for that online at
http://developer.kde.org/documentation/tutorials/xmlui/preface.html
The basic idea with XML-GUI is that your menus and such are described in an
XML file, which includes all the functionality that your program will
support. You DON'T include standard fare like File->Open or File->Quit.
Just tell KDE you need it by creating a KStdAction, and it will automatically
be inserted into your menu and toolbar. You can create a KAction to tell KDE
that you need one of the items in your XML file inserted into the menu. You
also use your XML file to describe what icons are used, the shortcut keys,
and so on.
KDE uses the autotools for the build framework. KDevelop, the KDE IDE can
typically handle that for you. Icons have a brief description in
http://developer.kde.org/documentation/other/makefile_am_howto.html
You can load your icons programmatically by using KIconLoader if I remember
right.
But basically, you need to hit up http://developer.kde.org/ and do some
reading. Google can also be helpful. KDE is built on Qt, so
http://www.trolltech.com/ might be of some help too. Qt includes many
examples with their source code.
Good luck!
Regards,
- Michael Pyne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAktNRqjQYp5Omm0oRAjUjAKCyoOW0tZjEhBgxBrcx173/eRJNbwCdGEUz
d57JROkyUzWOf6llGxXO2Ng=
=snwW
-----END PGP SIGNATURE-----
>> 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