diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 15:57:34 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 15:57:34 -0600 |
commit | 7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch) | |
tree | c76702a7f6310fbe9d437e347535422e836e94e9 /tdeparts/design.h | |
parent | a2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff) | |
parent | 27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff) | |
download | tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'tdeparts/design.h')
-rw-r--r-- | tdeparts/design.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tdeparts/design.h b/tdeparts/design.h new file mode 100644 index 000000000..ba608d777 --- /dev/null +++ b/tdeparts/design.h @@ -0,0 +1,28 @@ +/** + * @mainpage Framework for KDE graphical components + * + * + * + * This library implements the framework for KDE parts, which are + * elaborate widgets with a user-interface defined in terms of actions + * (menu items, toolbar icons). See KParts::Part. + * + * The library also provides a framework for applications that want to + * use parts. Such applications need to inherit their main window + * from KParts::MainWindow and provide a so-called shell GUI, + * which provides a basic skeleton GUI with part-independent functionality/actions. + * + * Some KParts applications won't be specific to a given part, but expect + * to be able to embed, for instance, all types of viewers out there. For this + * the basic functionality of any viewer has been implemented in + * KParts::ReadOnlyPart, which viewer-like parts should inherit from. + * The same applies to KParts::ReadWritePart, which is for editor-like parts. + * + * You can add actions to an existing KParts app from "outside", defining + * the code for those actions in a shared library. This mechanism is + * obviously called plugins, and implemented by KParts::Plugin. + * + * For a complete, and very simple, example of how to use KParts to display + * any kind of file (i.e. making a generic viewer), see the docu for + * KParts::ComponentFactory::createPartInstanceFromQuery() + */ |