summaryrefslogtreecommitdiffstats
path: root/chalk/doc/plugins.txt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-26 00:41:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-26 00:41:16 +0000
commit698569f8428ca088f764d704034a1330517b98c0 (patch)
treebf45be6946ebbbee9cce5a5bcf838f4c952d87e6 /chalk/doc/plugins.txt
parent2785103a6bd4de55bd26d79e34d0fdd4b329a73a (diff)
downloadkoffice-698569f8428ca088f764d704034a1330517b98c0.tar.gz
koffice-698569f8428ca088f764d704034a1330517b98c0.zip
Finish rebranding of Krita as Chalk
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238363 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'chalk/doc/plugins.txt')
-rw-r--r--chalk/doc/plugins.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/chalk/doc/plugins.txt b/chalk/doc/plugins.txt
new file mode 100644
index 00000000..2902adb8
--- /dev/null
+++ b/chalk/doc/plugins.txt
@@ -0,0 +1,32 @@
+There are several kinds of plugins in Chalk: CoreModules and Plugins. Core modules
+add functionality to Chalk but do not directly add to the user interface (menus and
+toolbars). Plugins create actions.
+
+All plugins register themselves with the appropriate registry:
+
+KisToolRegistry -- tools like brush, crop etc. Tools are added to the menu and the tools
+ box, but are special in that every view has a different instantiation of a tool for every
+ pointer X11 presents to Chalk (mouse, stylus, eraser, other styluses for fancy wacom
+ tablets).
+
+KisColorSpaceRegistry -- color models like cmyk or rgb are core modules. These add the capability
+ to load and save and edit images in a particular color model and bit depth.
+
+KisFilterRegistry -- Filters are a little mode complicated in that these are operations that
+ should be available from many places in the application -- i.e, some tools build on
+ the availablity of filters, and filters can be building blocks in scripts -- but are
+ also directly available from the filter menu.
+
+KisPaintOpRegistry -- Paintops are plugins that define the way tools actually make
+ marks on the canvas. Paintops have no independent life in the gui but can be shown
+ in the toolbox.
+
+KisPluginRegistry -- Plugins that do not fall into any of the previous categories. Examples
+ are the GUI for scaling/resizing an image, select-by-colour etc.
+
+
+Chalk automatically adds filters to the items menu and tools to the tools menu; paintops
+are managed in the paintop toolbox and the tool plugins add themselves to the tools toolbar.
+This is done without referring to the XML gui buider. General plugins, like select-by-colour,
+that are often gui wrappers around core functionality, are loaded using the ordinary
+KDE plugin framework.