--- a/Documentation/Source/eric5.Graphics.UMLItem.html Thu Jan 14 17:27:31 2010 +0000 +++ b/Documentation/Source/eric5.Graphics.UMLItem.html Thu Jan 14 18:35:52 2010 +0000 @@ -22,7 +22,7 @@ <body><a NAME="top" ID="top"></a> <h1>eric5.Graphics.UMLItem</h1> <p> -Module implementing the UMLWidget base class. +Module implementing the UMLWidget base class. </p> <h3>Global Attributes</h3> <table> @@ -32,7 +32,7 @@ <table> <tr> <td><a href="#UMLItem">UMLItem</a></td> -<td>Class implementing the UMLItem base class.</td> +<td>Class implementing the UMLItem base class.</td> </tr> </table> <h3>Functions</h3> @@ -43,7 +43,7 @@ <a NAME="UMLItem" ID="UMLItem"></a> <h2>UMLItem</h2> <p> - Class implementing the UMLItem base class. + Class implementing the UMLItem base class. </p> <h3>Derived from</h3> QGraphicsRectItem @@ -55,157 +55,157 @@ <table> <tr> <td><a href="#UMLItem.__init__">UMLItem</a></td> -<td>Constructor</td> +<td>Constructor</td> </tr><tr> <td><a href="#UMLItem.addAssociation">addAssociation</a></td> -<td>Method to add an association to this widget.</td> +<td>Method to add an association to this widget.</td> </tr><tr> <td><a href="#UMLItem.adjustAssociations">adjustAssociations</a></td> -<td>Method to adjust the associations to widget movements.</td> +<td>Method to adjust the associations to widget movements.</td> </tr><tr> <td><a href="#UMLItem.itemChange">itemChange</a></td> -<td>Protected method called when an items state changes.</td> +<td>Protected method called when an items state changes.</td> </tr><tr> <td><a href="#UMLItem.moveBy">moveBy</a></td> -<td>Overriden method to move the widget relative.</td> +<td>Overriden method to move the widget relative.</td> </tr><tr> <td><a href="#UMLItem.paint">paint</a></td> -<td>Public method to paint the item in local coordinates.</td> +<td>Public method to paint the item in local coordinates.</td> </tr><tr> <td><a href="#UMLItem.removeAssociation">removeAssociation</a></td> -<td>Method to remove an association to this widget.</td> +<td>Method to remove an association to this widget.</td> </tr><tr> <td><a href="#UMLItem.removeAssociations">removeAssociations</a></td> -<td>Method to remove all associations of this widget.</td> +<td>Method to remove all associations of this widget.</td> </tr><tr> <td><a href="#UMLItem.setPos">setPos</a></td> -<td>Overriden method to set the items position.</td> +<td>Overriden method to set the items position.</td> </tr><tr> <td><a href="#UMLItem.setSize">setSize</a></td> -<td>Public method to set the rectangles size.</td> +<td>Public method to set the rectangles size.</td> </tr> </table> <a NAME="UMLItem.__init__" ID="UMLItem.__init__"></a> <h4>UMLItem (Constructor)</h4> <b>UMLItem</b>(<i>x = 0, y = 0, rounded = False, parent = None</i>) <p> - Constructor + Constructor </p><dl> <dt><i>x</i></dt> <dd> -x-coordinate (integer) +x-coordinate (integer) </dd><dt><i>y</i></dt> <dd> -y-coordinate (integer) +y-coordinate (integer) </dd><dt><i>rounded</i></dt> <dd> -flag indicating a rounded corner (boolean) +flag indicating a rounded corner (boolean) </dd><dt><i>parent=</i></dt> <dd> -reference to the parent object (QGraphicsItem) +reference to the parent object (QGraphicsItem) </dd> </dl><a NAME="UMLItem.addAssociation" ID="UMLItem.addAssociation"></a> <h4>UMLItem.addAssociation</h4> <b>addAssociation</b>(<i>assoc</i>) <p> - Method to add an association to this widget. + Method to add an association to this widget. </p><dl> <dt><i>assoc</i></dt> <dd> -association to be added (AssociationWidget) +association to be added (AssociationWidget) </dd> </dl><a NAME="UMLItem.adjustAssociations" ID="UMLItem.adjustAssociations"></a> <h4>UMLItem.adjustAssociations</h4> <b>adjustAssociations</b>(<i></i>) <p> - Method to adjust the associations to widget movements. + Method to adjust the associations to widget movements. </p><a NAME="UMLItem.itemChange" ID="UMLItem.itemChange"></a> <h4>UMLItem.itemChange</h4> <b>itemChange</b>(<i>change, value</i>) <p> - Protected method called when an items state changes. + Protected method called when an items state changes. </p><dl> <dt><i>change</i></dt> <dd> -the item's change (QGraphicsItem.GraphicsItemChange) +the item's change (QGraphicsItem.GraphicsItemChange) </dd><dt><i>value</i></dt> <dd> -the value of the change +the value of the change </dd> </dl><dl> <dt>Returns:</dt> <dd> -adjusted values +adjusted values </dd> </dl><a NAME="UMLItem.moveBy" ID="UMLItem.moveBy"></a> <h4>UMLItem.moveBy</h4> <b>moveBy</b>(<i>dx, dy</i>) <p> - Overriden method to move the widget relative. + Overriden method to move the widget relative. </p><dl> <dt><i>dx</i></dt> <dd> -relative movement in x-direction (float) +relative movement in x-direction (float) </dd><dt><i>dy</i></dt> <dd> -relative movement in y-direction (float) +relative movement in y-direction (float) </dd> </dl><a NAME="UMLItem.paint" ID="UMLItem.paint"></a> <h4>UMLItem.paint</h4> <b>paint</b>(<i>painter, option, widget = None</i>) <p> - Public method to paint the item in local coordinates. + Public method to paint the item in local coordinates. </p><dl> <dt><i>painter</i></dt> <dd> -reference to the painter object (QPainter) +reference to the painter object (QPainter) </dd><dt><i>option</i></dt> <dd> -style options (QStyleOptionGraphicsItem) +style options (QStyleOptionGraphicsItem) </dd><dt><i>widget</i></dt> <dd> -optional reference to the widget painted on (QWidget) +optional reference to the widget painted on (QWidget) </dd> </dl><a NAME="UMLItem.removeAssociation" ID="UMLItem.removeAssociation"></a> <h4>UMLItem.removeAssociation</h4> <b>removeAssociation</b>(<i>assoc</i>) <p> - Method to remove an association to this widget. + Method to remove an association to this widget. </p><dl> <dt><i>assoc</i></dt> <dd> -association to be removed (AssociationWidget) +association to be removed (AssociationWidget) </dd> </dl><a NAME="UMLItem.removeAssociations" ID="UMLItem.removeAssociations"></a> <h4>UMLItem.removeAssociations</h4> <b>removeAssociations</b>(<i></i>) <p> - Method to remove all associations of this widget. + Method to remove all associations of this widget. </p><a NAME="UMLItem.setPos" ID="UMLItem.setPos"></a> <h4>UMLItem.setPos</h4> <b>setPos</b>(<i>x, y</i>) <p> - Overriden method to set the items position. + Overriden method to set the items position. </p><dl> <dt><i>x</i></dt> <dd> -absolute x-position (float) +absolute x-position (float) </dd><dt><i>y</i></dt> <dd> -absolute y-position (float) +absolute y-position (float) </dd> </dl><a NAME="UMLItem.setSize" ID="UMLItem.setSize"></a> <h4>UMLItem.setSize</h4> <b>setSize</b>(<i>width, height</i>) <p> - Public method to set the rectangles size. + Public method to set the rectangles size. </p><dl> <dt><i>width</i></dt> <dd> -width of the rectangle (float) +width of the rectangle (float) </dd><dt><i>height</i></dt> <dd> -height of the rectangle (float) +height of the rectangle (float) </dd> </dl> <div align="right"><a href="#top">Up</a></div>