Documentation/Source/eric5.E4Graphics.E4ArrowItem.html

Tue, 12 Jan 2010 07:38:28 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 12 Jan 2010 07:38:28 +0000
changeset 49
f991944e859c
parent 21
b88a0e6268bd
permissions
-rw-r--r--

Added a regexp to detect "from . import" style import statements for Python files.

<?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>
&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#115; &#105;&#116;&#101;&#109; &#115;&#117;&#98;&#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#97;&#110; &#97;&#114;&#114;&#111;w.
</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>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#97;&#114;&#114;&#111;w &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#115; &#105;&#116;&#101;&#109; &#115;&#117;&#98;&#99;&#108;&#97;&#115;&#115;.</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>
    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#97;&#114;&#114;&#111;w &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#115; &#105;&#116;&#101;&#109; &#115;&#117;&#98;&#99;&#108;&#97;&#115;&#115;.
</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>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
</tr><tr>
<td><a href="#E4ArrowItem.boundingRect">boundingRect</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#98;&#111;&#117;&#110;&#100;&#105;&#110;&#103; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;.</td>
</tr><tr>
<td><a href="#E4ArrowItem.paint">paint</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#97;&#105;&#110;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#105;&#110; &#108;&#111;&#99;&#97;&#108; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115;.</td>
</tr><tr>
<td><a href="#E4ArrowItem.setEndPoint">setEndPoint</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116;.</td>
</tr><tr>
<td><a href="#E4ArrowItem.setPoints">setPoints</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#97;&#110;&#100; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#110;&#101;.</td>
</tr><tr>
<td><a href="#E4ArrowItem.setStartPoint">setStartPoint</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#112;&#111;&#105;&#110;&#116;.</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>
        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
</p><dl>
<dt><i>origin</i></dt>
<dd>
&#111;&#114;&#105;&#103;&#105;&#110; &#111;&#102; &#116;&#104;&#101; &#97;&#114;&#114;&#111;w (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
</dd><dt><i>end</i></dt>
<dd>
&#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#116;&#104;&#101; &#97;&#114;&#114;&#111;w (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
</dd><dt><i>filled</i></dt>
<dd>
&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#102;&#105;&#108;&#108;&#101;&#100; &#97;&#114;&#114;&#111;w &#104;&#101;&#97;&#100; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
</dd><dt><i>type</i></dt>
<dd>
&#97;&#114;&#114;&#111;w &#116;y&#112;&#101; (&#78;&#111;&#114;&#109;&#97;&#108;&#65;&#114;&#114;&#111;w, &#87;&#105;&#100;&#101;&#65;&#114;&#114;&#111;w)
</dd><dt><i>parent=</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;)
</dd>
</dl><a NAME="E4ArrowItem.boundingRect" ID="E4ArrowItem.boundingRect"></a>
<h4>E4ArrowItem.boundingRect</h4>
<b>boundingRect</b>(<i></i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#98;&#111;&#117;&#110;&#100;&#105;&#110;&#103; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;.
</p><dl>
<dt>Returns:</dt>
<dd>
&#98;&#111;&#117;&#110;&#100;&#105;&#110;&#103; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; (&#81;&#82;&#101;&#99;&#116;&#70;)
</dd>
</dl><a NAME="E4ArrowItem.paint" ID="E4ArrowItem.paint"></a>
<h4>E4ArrowItem.paint</h4>
<b>paint</b>(<i>painter, option, widget = None</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#97;&#105;&#110;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#105;&#110; &#108;&#111;&#99;&#97;&#108; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115;.
</p><dl>
<dt><i>painter</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#105;&#110;&#116;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#80;&#97;&#105;&#110;&#116;&#101;&#114;)
</dd><dt><i>option</i></dt>
<dd>
&#115;&#116;y&#108;&#101; &#111;&#112;&#116;&#105;&#111;&#110;&#115; (&#81;&#83;&#116;y&#108;&#101;&#79;&#112;&#116;&#105;&#111;&#110;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;)
</dd><dt><i>widget</i></dt>
<dd>
&#111;&#112;&#116;&#105;&#111;&#110;&#97;&#108; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116; &#112;&#97;&#105;&#110;&#116;&#101;&#100; &#111;&#110; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
</dd>
</dl><a NAME="E4ArrowItem.setEndPoint" ID="E4ArrowItem.setEndPoint"></a>
<h4>E4ArrowItem.setEndPoint</h4>
<b>setEndPoint</b>(<i>x, y</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116;.
</p><p>
        &#60;&#98;&#62;&#78;&#111;&#116;&#101;&#58;&#60;/&#98;&#62; &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#100;&#111;&#101;&#115; &#110;&#111;&#116; &#114;&#101;&#100;&#114;&#97;w &#116;&#104;&#101; &#105;&#116;&#101;&#109;.
</p><dl>
<dt><i>x</i></dt>
<dd>
x-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
</dd><dt><i>y</i></dt>
<dd>
y-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
</dd>
</dl><a NAME="E4ArrowItem.setPoints" ID="E4ArrowItem.setPoints"></a>
<h4>E4ArrowItem.setPoints</h4>
<b>setPoints</b>(<i>xa, ya, xb, yb</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#97;&#110;&#100; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#110;&#101;.
</p><p>
        &#60;&#98;&#62;&#78;&#111;&#116;&#101;&#58;&#60;/&#98;&#62; &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#100;&#111;&#101;&#115; &#110;&#111;&#116; &#114;&#101;&#100;&#114;&#97;w &#116;&#104;&#101; &#105;&#116;&#101;&#109;.
</p><dl>
<dt><i>xa</i></dt>
<dd>
x-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
</dd><dt><i>ya</i></dt>
<dd>
y-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
</dd><dt><i>xb</i></dt>
<dd>
x-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
</dd><dt><i>yb</i></dt>
<dd>
y-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
</dd>
</dl><a NAME="E4ArrowItem.setStartPoint" ID="E4ArrowItem.setStartPoint"></a>
<h4>E4ArrowItem.setStartPoint</h4>
<b>setStartPoint</b>(<i>x, y</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#112;&#111;&#105;&#110;&#116;.
</p><p>
        &#60;&#98;&#62;&#78;&#111;&#116;&#101;&#58;&#60;/&#98;&#62; &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#100;&#111;&#101;&#115; &#110;&#111;&#116; &#114;&#101;&#100;&#114;&#97;w &#116;&#104;&#101; &#105;&#116;&#101;&#109;.
</p><dl>
<dt><i>x</i></dt>
<dd>
x-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
</dd><dt><i>y</i></dt>
<dd>
y-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial