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

changeset 7530
9f4fac61e7c7
parent 7273
391d6b7b1eff
child 7989
a21d673a8f99
equal deleted inserted replaced
7529:2b8a0d8ba12a 7530:9f4fac61e7c7
153 to bottom (integer, integer, integer, boolean) 153 to bottom (integer, integer, integer, boolean)
154 </dd> 154 </dd>
155 </dl> 155 </dl>
156 <a NAME="AssociationItem.__init__" ID="AssociationItem.__init__"></a> 156 <a NAME="AssociationItem.__init__" ID="AssociationItem.__init__"></a>
157 <h4>AssociationItem (Constructor)</h4> 157 <h4>AssociationItem (Constructor)</h4>
158 <b>AssociationItem</b>(<i>itemA, itemB, assocType=Normal, topToBottom=False, parent=None</i>) 158 <b>AssociationItem</b>(<i>itemA, itemB, assocType=Normal, topToBottom=False, colors=None, parent=None</i>)
159 159
160 <p> 160 <p>
161 Constructor 161 Constructor
162 </p> 162 </p>
163 <dl> 163 <dl>
177 <li>Normal (default)</li> 177 <li>Normal (default)</li>
178 <li>Generalisation</li> 178 <li>Generalisation</li>
179 <li>Imports</li> 179 <li>Imports</li>
180 </ul> 180 </ul>
181 </dd> 181 </dd>
182 <dt><i>topToBottom=</i></dt> 182 <dt><i>topToBottom</i> (bool)</dt>
183 <dd> 183 <dd>
184 flag indicating to draw the association 184 flag indicating to draw the association
185 from item A top to item B bottom (boolean) 185 from item A top to item B bottom
186 </dd> 186 </dd>
187 <dt><i>parent=</i></dt> 187 <dt><i>colors</i> (tuple of (QColor, QColor))</dt>
188 <dd> 188 <dd>
189 reference to the parent object (QGraphicsItem) 189 tuple containing the foreground and background colors
190 </dd>
191 <dt><i>parent</i> (QGraphicsItem)</dt>
192 <dd>
193 reference to the parent object
190 </dd> 194 </dd>
191 </dl> 195 </dl>
192 <a NAME="AssociationItem.__calculateEndingPoints_center" ID="AssociationItem.__calculateEndingPoints_center"></a> 196 <a NAME="AssociationItem.__calculateEndingPoints_center" ID="AssociationItem.__calculateEndingPoints_center"></a>
193 <h4>AssociationItem.__calculateEndingPoints_center</h4> 197 <h4>AssociationItem.__calculateEndingPoints_center</h4>
194 <b>__calculateEndingPoints_center</b>(<i></i>) 198 <b>__calculateEndingPoints_center</b>(<i></i>)

eric ide

mercurial