--- a/eric6/Documentation/Source/eric6.Graphics.UMLItem.html Sat May 08 18:34:08 2021 +0200 +++ b/eric6/Documentation/Source/eric6.Graphics.UMLItem.html Sat May 08 18:35:00 2021 +0200 @@ -66,7 +66,11 @@ <h3>Class Methods</h3> <table> -<tr><td>None</td></tr> + +<tr> +<td><a href="#UMLItem.fromDict">fromDict</a></td> +<td>Class method to create a generic UML item from persisted data.</td> +</tr> </table> <h3>Methods</h3> @@ -147,6 +151,37 @@ <tr><td>None</td></tr> </table> +<a NAME="UMLItem.fromDict" ID="UMLItem.fromDict"></a> +<h4>UMLItem.fromDict (class method)</h4> +<b>fromDict</b>(<i>data, colors=None</i>) + +<p> + Class method to create a generic UML item from persisted data. +</p> +<dl> + +<dt><i>data</i> (dict)</dt> +<dd> +dictionary containing the persisted data as generated + by toDict() +</dd> +<dt><i>colors</i> (tuple of (QColor, QColor))</dt> +<dd> +tuple containing the foreground and background colors +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +created UML item +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +UMLItem +</dd> +</dl> <a NAME="UMLItem.__init__" ID="UMLItem.__init__"></a> <h4>UMLItem (Constructor)</h4> <b>UMLItem</b>(<i>model=None, x=0, y=0, rounded=False, colors=None, parent=None</i>)