[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: [krita/krita/4.0] plugins/paintops/libpaintop: Add documentation about our tangle of paintop option
From: Boudewijn Rempt <null () kde ! org>
Date: 2018-05-16 18:27:21
Message-ID: E1fJ18z-0005Nt-Ut () code ! kde ! org
[Download RAW message or body]
Git commit d42e8b2daf1d86820f639726c07d4a9cb53d6394 by Boudewijn Rempt.
Committed on 16/05/2018 at 18:25.
Pushed by rempt into branch 'krita/4.0'.
Add documentation about our tangle of paintop option options...
CCMAIL:kimageshop@kde.org
(cherry picked from commit 4eb2ffeea97606255c14ed1fcf52003d506c92ff)
M +20 -0 plugins/paintops/libpaintop/Mainpage.dox
https://commits.kde.org/krita/d42e8b2daf1d86820f639726c07d4a9cb53d6394
diff --git a/plugins/paintops/libpaintop/Mainpage.dox b/plugins/paintops/libpaintop/Mainpage.dox
index 2c103102d3c..e6e1ce5a1bc 100644
--- a/plugins/paintops/libpaintop/Mainpage.dox
+++ b/plugins/paintops/libpaintop/Mainpage.dox
@@ -29,5 +29,25 @@ option provides a graphical view for editing that option (as a page
in an option popup) and possible also the code necessary for applying
the effects of that option to the paint device as part of painting.
+The following classes are important:
+
+<ul>
+<li>KisPaintOp: this is the engine for a certain kind of brush. It will
+ be created in non-gui threads and keeps its state in a KisPaintOpSettings
+ object.
+<li>KisPaintOpSettings: this is a KisPropertiesConfiguration subclass that
+ stores the settings for all the options that make up a paintop.
+<li>Classes derived from KisPaintOpOption. These classes create a configuration
+ widget. That means that you cannot construct any those objects in a
+ KisPaintOp. KisPaintOps are created in non-gui threads.
+<li>Classes derived from KisCurveOption.KisCurveOption classes have a generic GUI widget,
+ KisCurveOptionWidget. So, in contrast to KisPaintOpOption classes, KisCurveOption
+ instances can and will be created in the constructor of KisPaintOp paintops.
+ This class can manage to read and write its settings directly.
+<li>Classes derived from KisPaintopPropertiesBase. These classes are non-gui,
+ and can read and write KisPropertiesConfiguration objects created by
+ KisPaintOpOption.
+</ul>
+
*/
// DOXYGEN_SET_IGNORE_PREFIX = Kis Ko K
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic