src/eric7/Documentation/Source/eric7.Graphics.ModuleItem.html

branch
eric7
changeset 10259
b51dfacef37f
parent 10070
9f5758c0fec1
child 10479
856476537696
--- a/src/eric7/Documentation/Source/eric7.Graphics.ModuleItem.html	Fri Oct 27 14:07:03 2023 +0200
+++ b/src/eric7/Documentation/Source/eric7.Graphics.ModuleItem.html	Fri Oct 27 14:09:40 2023 +0200
@@ -76,11 +76,11 @@
 </tr>
 <tr>
 <td><a href="#ModuleItem.paint">paint</a></td>
-<td></td>
+<td>Public method to paint the item in local coordinates.</td>
 </tr>
 <tr>
 <td><a href="#ModuleItem.parseItemDataString">parseItemDataString</a></td>
-<td></td>
+<td>Public method to parse the given persistence data.</td>
 </tr>
 <tr>
 <td><a href="#ModuleItem.setModel">setModel</a></td>
@@ -184,10 +184,54 @@
 <h4>ModuleItem.paint</h4>
 <b>paint</b>(<i>painter, option, widget=None</i>)
 
+<p>
+        Public method to paint the item in local coordinates.
+</p>
+<dl>
+
+<dt><i>painter</i> (QPainter)</dt>
+<dd>
+reference to the painter object
+</dd>
+<dt><i>option</i> (QStyleOptionGraphicsItem)</dt>
+<dd>
+style options
+</dd>
+<dt><i>widget</i> (QWidget)</dt>
+<dd>
+optional reference to the widget painted on
+</dd>
+</dl>
 <a NAME="ModuleItem.parseItemDataString" ID="ModuleItem.parseItemDataString"></a>
 <h4>ModuleItem.parseItemDataString</h4>
 <b>parseItemDataString</b>(<i>version, data</i>)
 
+<p>
+        Public method to parse the given persistence data.
+</p>
+<dl>
+
+<dt><i>version</i> (str)</dt>
+<dd>
+version of the data
+</dd>
+<dt><i>data</i> (str)</dt>
+<dd>
+persisted data to be parsed
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+flag indicating success
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
 <a NAME="ModuleItem.setModel" ID="ModuleItem.setModel"></a>
 <h4>ModuleItem.setModel</h4>
 <b>setModel</b>(<i>model</i>)

eric ide

mercurial