eric6/Documentation/Source/eric6.Graphics.UMLItem.html

changeset 7530
9f4fac61e7c7
parent 7273
391d6b7b1eff
child 7989
a21d673a8f99
--- a/eric6/Documentation/Source/eric6.Graphics.UMLItem.html	Sun Apr 12 18:40:37 2020 +0200
+++ b/eric6/Documentation/Source/eric6.Graphics.UMLItem.html	Sun Apr 12 18:41:24 2020 +0200
@@ -145,32 +145,36 @@
 
 <a NAME="UMLItem.__init__" ID="UMLItem.__init__"></a>
 <h4>UMLItem (Constructor)</h4>
-<b>UMLItem</b>(<i>model=None, x=0, y=0, rounded=False, parent=None</i>)
+<b>UMLItem</b>(<i>model=None, x=0, y=0, rounded=False, colors=None, parent=None</i>)
 
 <p>
         Constructor
 </p>
 <dl>
 
-<dt><i>model</i></dt>
+<dt><i>model</i> (UMLModel)</dt>
 <dd>
-UML model containing the item data (UMLModel)
+UML model containing the item data
 </dd>
-<dt><i>x</i></dt>
+<dt><i>x</i> (int)</dt>
 <dd>
-x-coordinate (integer)
+x-coordinate
 </dd>
-<dt><i>y</i></dt>
+<dt><i>y</i> (int)</dt>
 <dd>
-y-coordinate (integer)
+y-coordinate
 </dd>
-<dt><i>rounded</i></dt>
+<dt><i>rounded</i> (bool)</dt>
 <dd>
-flag indicating a rounded corner (boolean)
+flag indicating a rounded corner
 </dd>
-<dt><i>parent=</i></dt>
+<dt><i>colors</i> (tuple of (QColor, QColor))</dt>
 <dd>
-reference to the parent object (QGraphicsItem)
+tuple containing the foreground and background colors
+</dd>
+<dt><i>parent</i> (QGraphicsItem)</dt>
+<dd>
+reference to the parent object
 </dd>
 </dl>
 <a NAME="UMLItem.addAssociation" ID="UMLItem.addAssociation"></a>

eric ide

mercurial