eric6/Documentation/Source/eric6.Graphics.AssociationItem.html

changeset 7530
9f4fac61e7c7
parent 7273
391d6b7b1eff
child 7989
a21d673a8f99
--- a/eric6/Documentation/Source/eric6.Graphics.AssociationItem.html	Sun Apr 12 18:40:37 2020 +0200
+++ b/eric6/Documentation/Source/eric6.Graphics.AssociationItem.html	Sun Apr 12 18:41:24 2020 +0200
@@ -155,7 +155,7 @@
 </dl>
 <a NAME="AssociationItem.__init__" ID="AssociationItem.__init__"></a>
 <h4>AssociationItem (Constructor)</h4>
-<b>AssociationItem</b>(<i>itemA, itemB, assocType=Normal, topToBottom=False, parent=None</i>)
+<b>AssociationItem</b>(<i>itemA, itemB, assocType=Normal, topToBottom=False, colors=None, parent=None</i>)
 
 <p>
         Constructor
@@ -179,14 +179,18 @@
             <li>Imports</li>
             </ul>
 </dd>
-<dt><i>topToBottom=</i></dt>
+<dt><i>topToBottom</i> (bool)</dt>
 <dd>
 flag indicating to draw the association
-            from item A top to item B bottom (boolean)
+            from item A top to item B bottom
 </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="AssociationItem.__calculateEndingPoints_center" ID="AssociationItem.__calculateEndingPoints_center"></a>

eric ide

mercurial