src/eric7/Documentation/Source/eric7.Graphics.UMLItem.html

branch
eric7
changeset 10259
b51dfacef37f
parent 10070
9f5758c0fec1
child 10428
a071d4065202
equal deleted inserted replaced
10258:e7764f992a01 10259:b51dfacef37f
94 <td><a href="#UMLItem.moveBy">moveBy</a></td> 94 <td><a href="#UMLItem.moveBy">moveBy</a></td>
95 <td>Public overriden method to move the widget relative.</td> 95 <td>Public overriden method to move the widget relative.</td>
96 </tr> 96 </tr>
97 <tr> 97 <tr>
98 <td><a href="#UMLItem.paint">paint</a></td> 98 <td><a href="#UMLItem.paint">paint</a></td>
99 <td></td> 99 <td>Public method to paint the item in local coordinates.</td>
100 </tr> 100 </tr>
101 <tr> 101 <tr>
102 <td><a href="#UMLItem.parseItemDataString">parseItemDataString</a></td> 102 <td><a href="#UMLItem.parseItemDataString">parseItemDataString</a></td>
103 <td></td> 103 <td>Public method to parse the given persistence data.</td>
104 </tr> 104 </tr>
105 <tr> 105 <tr>
106 <td><a href="#UMLItem.removeAssociation">removeAssociation</a></td> 106 <td><a href="#UMLItem.removeAssociation">removeAssociation</a></td>
107 <td>Public method to remove an association to this widget.</td> 107 <td>Public method to remove an association to this widget.</td>
108 </tr> 108 </tr>
320 </dl> 320 </dl>
321 <a NAME="UMLItem.paint" ID="UMLItem.paint"></a> 321 <a NAME="UMLItem.paint" ID="UMLItem.paint"></a>
322 <h4>UMLItem.paint</h4> 322 <h4>UMLItem.paint</h4>
323 <b>paint</b>(<i>painter, option, widget=None</i>) 323 <b>paint</b>(<i>painter, option, widget=None</i>)
324 324
325 <p>
326 Public method to paint the item in local coordinates.
327 </p>
328 <dl>
329
330 <dt><i>painter</i> (QPainter)</dt>
331 <dd>
332 reference to the painter object
333 </dd>
334 <dt><i>option</i> (QStyleOptionGraphicsItem)</dt>
335 <dd>
336 style options
337 </dd>
338 <dt><i>widget</i> (QWidget)</dt>
339 <dd>
340 optional reference to the widget painted on
341 </dd>
342 </dl>
325 <a NAME="UMLItem.parseItemDataString" ID="UMLItem.parseItemDataString"></a> 343 <a NAME="UMLItem.parseItemDataString" ID="UMLItem.parseItemDataString"></a>
326 <h4>UMLItem.parseItemDataString</h4> 344 <h4>UMLItem.parseItemDataString</h4>
327 <b>parseItemDataString</b>(<i>version, data</i>) 345 <b>parseItemDataString</b>(<i>version, data</i>)
328 346
347 <p>
348 Public method to parse the given persistence data.
349 </p>
350 <dl>
351
352 <dt><i>version</i> (str)</dt>
353 <dd>
354 version of the data
355 </dd>
356 <dt><i>data</i> (str)</dt>
357 <dd>
358 persisted data to be parsed
359 </dd>
360 </dl>
361 <dl>
362 <dt>Return:</dt>
363 <dd>
364 flag indicating success
365 </dd>
366 </dl>
367 <dl>
368 <dt>Return Type:</dt>
369 <dd>
370 bool
371 </dd>
372 </dl>
329 <a NAME="UMLItem.removeAssociation" ID="UMLItem.removeAssociation"></a> 373 <a NAME="UMLItem.removeAssociation" ID="UMLItem.removeAssociation"></a>
330 <h4>UMLItem.removeAssociation</h4> 374 <h4>UMLItem.removeAssociation</h4>
331 <b>removeAssociation</b>(<i>assoc</i>) 375 <b>removeAssociation</b>(<i>assoc</i>)
332 376
333 <p> 377 <p>

eric ide

mercurial