--- a/Documentation/Source/eric5.E4Graphics.E4ArrowItem.html Tue Jan 12 17:55:24 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,178 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4Graphics.E4ArrowItem</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4Graphics.E4ArrowItem</h1> -<p> -Module implementing a graphics item subclass for an arrow. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>ArrowheadAngleFactor</td></tr><tr><td>NormalArrow</td></tr><tr><td>WideArrow</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#E4ArrowItem">E4ArrowItem</a></td> -<td>Class implementing an arrow graphics item subclass.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="E4ArrowItem" ID="E4ArrowItem"></a> -<h2>E4ArrowItem</h2> -<p> - Class implementing an arrow graphics item subclass. -</p> -<h3>Derived from</h3> -QAbstractGraphicsShapeItem -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#E4ArrowItem.__init__">E4ArrowItem</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#E4ArrowItem.boundingRect">boundingRect</a></td> -<td>Public method to return the bounding rectangle.</td> -</tr><tr> -<td><a href="#E4ArrowItem.paint">paint</a></td> -<td>Public method to paint the item in local coordinates.</td> -</tr><tr> -<td><a href="#E4ArrowItem.setEndPoint">setEndPoint</a></td> -<td>Public method to set the end point.</td> -</tr><tr> -<td><a href="#E4ArrowItem.setPoints">setPoints</a></td> -<td>Public method to set the start and end points of the line.</td> -</tr><tr> -<td><a href="#E4ArrowItem.setStartPoint">setStartPoint</a></td> -<td>Public method to set the start point.</td> -</tr> -</table> -<a NAME="E4ArrowItem.__init__" ID="E4ArrowItem.__init__"></a> -<h4>E4ArrowItem (Constructor)</h4> -<b>E4ArrowItem</b>(<i>origin = QPointF(), end = QPointF(), filled = False, type = NormalArrow, parent = None</i>) -<p> - Constructor -</p><dl> -<dt><i>origin</i></dt> -<dd> -origin of the arrow (QPointF) -</dd><dt><i>end</i></dt> -<dd> -end point of the arrow (QPointF) -</dd><dt><i>filled</i></dt> -<dd> -flag indicating a filled arrow head (boolean) -</dd><dt><i>type</i></dt> -<dd> -arrow type (NormalArrow, WideArrow) -</dd><dt><i>parent=</i></dt> -<dd> -reference to the parent object (QGraphicsItem) -</dd> -</dl><a NAME="E4ArrowItem.boundingRect" ID="E4ArrowItem.boundingRect"></a> -<h4>E4ArrowItem.boundingRect</h4> -<b>boundingRect</b>(<i></i>) -<p> - Public method to return the bounding rectangle. -</p><dl> -<dt>Returns:</dt> -<dd> -bounding rectangle (QRectF) -</dd> -</dl><a NAME="E4ArrowItem.paint" ID="E4ArrowItem.paint"></a> -<h4>E4ArrowItem.paint</h4> -<b>paint</b>(<i>painter, option, widget = None</i>) -<p> - Public method to paint the item in local coordinates. -</p><dl> -<dt><i>painter</i></dt> -<dd> -reference to the painter object (QPainter) -</dd><dt><i>option</i></dt> -<dd> -style options (QStyleOptionGraphicsItem) -</dd><dt><i>widget</i></dt> -<dd> -optional reference to the widget painted on (QWidget) -</dd> -</dl><a NAME="E4ArrowItem.setEndPoint" ID="E4ArrowItem.setEndPoint"></a> -<h4>E4ArrowItem.setEndPoint</h4> -<b>setEndPoint</b>(<i>x, y</i>) -<p> - Public method to set the end point. -</p><p> - <b>Note:</b> This method does not redraw the item. -</p><dl> -<dt><i>x</i></dt> -<dd> -x-coordinate of the end point (float) -</dd><dt><i>y</i></dt> -<dd> -y-coordinate of the end point (float) -</dd> -</dl><a NAME="E4ArrowItem.setPoints" ID="E4ArrowItem.setPoints"></a> -<h4>E4ArrowItem.setPoints</h4> -<b>setPoints</b>(<i>xa, ya, xb, yb</i>) -<p> - Public method to set the start and end points of the line. -</p><p> - <b>Note:</b> This method does not redraw the item. -</p><dl> -<dt><i>xa</i></dt> -<dd> -x-coordinate of the start point (float) -</dd><dt><i>ya</i></dt> -<dd> -y-coordinate of the start point (float) -</dd><dt><i>xb</i></dt> -<dd> -x-coordinate of the end point (float) -</dd><dt><i>yb</i></dt> -<dd> -y-coordinate of the end point (float) -</dd> -</dl><a NAME="E4ArrowItem.setStartPoint" ID="E4ArrowItem.setStartPoint"></a> -<h4>E4ArrowItem.setStartPoint</h4> -<b>setStartPoint</b>(<i>x, y</i>) -<p> - Public method to set the start point. -</p><p> - <b>Note:</b> This method does not redraw the item. -</p><dl> -<dt><i>x</i></dt> -<dd> -x-coordinate of the start point (float) -</dd><dt><i>y</i></dt> -<dd> -y-coordinate of the start point (float) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file