8267:6baca884c73a | 8268:6b8128e0c9d1 |
---|---|
26 Module implementing a graphics item subclass for an arrow. | 26 Module implementing a graphics item subclass for an arrow. |
27 </p> | 27 </p> |
28 <h3>Global Attributes</h3> | 28 <h3>Global Attributes</h3> |
29 | 29 |
30 <table> | 30 <table> |
31 <tr><td>ArrowheadAngleFactor</td></tr><tr><td>NormalArrow</td></tr><tr><td>WideArrow</td></tr> | 31 <tr><td>ArrowheadAngleFactor</td></tr> |
32 </table> | 32 </table> |
33 <h3>Classes</h3> | 33 <h3>Classes</h3> |
34 | 34 |
35 <table> | 35 <table> |
36 | 36 |
37 <tr> | 37 <tr> |
38 <td><a href="#E5ArrowItem">E5ArrowItem</a></td> | 38 <td><a href="#E5ArrowItem">E5ArrowItem</a></td> |
39 <td>Class implementing an arrow graphics item subclass.</td> | 39 <td>Class implementing an arrow graphics item subclass.</td> |
40 </tr> | |
41 <tr> | |
42 <td><a href="#E5ArrowType">E5ArrowType</a></td> | |
43 <td>Class defining the arrow types.</td> | |
40 </tr> | 44 </tr> |
41 </table> | 45 </table> |
42 <h3>Functions</h3> | 46 <h3>Functions</h3> |
43 | 47 |
44 <table> | 48 <table> |
99 <tr><td>None</td></tr> | 103 <tr><td>None</td></tr> |
100 </table> | 104 </table> |
101 | 105 |
102 <a NAME="E5ArrowItem.__init__" ID="E5ArrowItem.__init__"></a> | 106 <a NAME="E5ArrowItem.__init__" ID="E5ArrowItem.__init__"></a> |
103 <h4>E5ArrowItem (Constructor)</h4> | 107 <h4>E5ArrowItem (Constructor)</h4> |
104 <b>E5ArrowItem</b>(<i>origin=None, end=None, filled=False, arrowType=NormalArrow, colors=None, parent=None</i>) | 108 <b>E5ArrowItem</b>(<i>origin=None, end=None, filled=False, arrowType=E5ArrowType.NORMAL, colors=None, parent=None</i>) |
105 | 109 |
106 <p> | 110 <p> |
107 Constructor | 111 Constructor |
108 </p> | 112 </p> |
109 <dl> | 113 <dl> |
118 </dd> | 122 </dd> |
119 <dt><i>filled</i> (bool)</dt> | 123 <dt><i>filled</i> (bool)</dt> |
120 <dd> | 124 <dd> |
121 flag indicating a filled arrow head | 125 flag indicating a filled arrow head |
122 </dd> | 126 </dd> |
123 <dt><i>arrowType</i> (int, one of NormalArrow, WideArrow)</dt> | 127 <dt><i>arrowType</i> (E5ArrowType)</dt> |
124 <dd> | 128 <dd> |
125 arrow type | 129 arrow type |
126 </dd> | 130 </dd> |
127 <dt><i>colors</i> (tuple of (QColor, QColor))</dt> | 131 <dt><i>colors</i> (tuple of (QColor, QColor))</dt> |
128 <dd> | 132 <dd> |
239 y-coordinate of the start point (float) | 243 y-coordinate of the start point (float) |
240 </dd> | 244 </dd> |
241 </dl> | 245 </dl> |
242 <div align="right"><a href="#top">Up</a></div> | 246 <div align="right"><a href="#top">Up</a></div> |
243 <hr /> | 247 <hr /> |
248 <hr /> | |
249 <a NAME="E5ArrowType" ID="E5ArrowType"></a> | |
250 <h2>E5ArrowType</h2> | |
251 | |
252 <p> | |
253 Class defining the arrow types. | |
254 </p> | |
255 <h3>Derived from</h3> | |
256 enum.Enum | |
257 <h3>Class Attributes</h3> | |
258 | |
259 <table> | |
260 <tr><td>NORMAL</td></tr><tr><td>WIDE</td></tr> | |
261 </table> | |
262 <h3>Class Methods</h3> | |
263 | |
264 <table> | |
265 <tr><td>None</td></tr> | |
266 </table> | |
267 <h3>Methods</h3> | |
268 | |
269 <table> | |
270 <tr><td>None</td></tr> | |
271 </table> | |
272 <h3>Static Methods</h3> | |
273 | |
274 <table> | |
275 <tr><td>None</td></tr> | |
276 </table> | |
277 | |
278 <div align="right"><a href="#top">Up</a></div> | |
279 <hr /> | |
244 </body></html> | 280 </body></html> |