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

branch
eric7
changeset 10684
58c7f23ae1cb
parent 10479
856476537696
equal deleted inserted replaced
10683:779cda568acb 10684:58c7f23ae1cb
321 relative movement in y-direction 321 relative movement in y-direction
322 </dd> 322 </dd>
323 </dl> 323 </dl>
324 <a NAME="UMLItem.paint" ID="UMLItem.paint"></a> 324 <a NAME="UMLItem.paint" ID="UMLItem.paint"></a>
325 <h4>UMLItem.paint</h4> 325 <h4>UMLItem.paint</h4>
326 <b>paint</b>(<i>painter, option, widget=None</i>) 326 <b>paint</b>(<i>painter, option, _widget=None</i>)
327 <p> 327 <p>
328 Public method to paint the item in local coordinates. 328 Public method to paint the item in local coordinates.
329 </p> 329 </p>
330 330
331 <dl> 331 <dl>
336 </dd> 336 </dd>
337 <dt><i>option</i> (QStyleOptionGraphicsItem)</dt> 337 <dt><i>option</i> (QStyleOptionGraphicsItem)</dt>
338 <dd> 338 <dd>
339 style options 339 style options
340 </dd> 340 </dd>
341 <dt><i>widget</i> (QWidget)</dt> 341 <dt><i>_widget</i> (QWidget)</dt>
342 <dd> 342 <dd>
343 optional reference to the widget painted on 343 optional reference to the widget painted on (unused)
344 </dd> 344 </dd>
345 </dl> 345 </dl>
346 <a NAME="UMLItem.parseItemDataString" ID="UMLItem.parseItemDataString"></a> 346 <a NAME="UMLItem.parseItemDataString" ID="UMLItem.parseItemDataString"></a>
347 <h4>UMLItem.parseItemDataString</h4> 347 <h4>UMLItem.parseItemDataString</h4>
348 <b>parseItemDataString</b>(<i>version, data</i>) 348 <b>parseItemDataString</b>(<i>_version, _data</i>)
349 <p> 349 <p>
350 Public method to parse the given persistence data. 350 Public method to parse the given persistence data.
351 </p> 351 </p>
352 352
353 <dl> 353 <dl>
354 354
355 <dt><i>version</i> (str)</dt> 355 <dt><i>_version</i> (str)</dt>
356 <dd> 356 <dd>
357 version of the data 357 version of the data (unused)
358 </dd> 358 </dd>
359 <dt><i>data</i> (str)</dt> 359 <dt><i>_data</i> (str)</dt>
360 <dd> 360 <dd>
361 persisted data to be parsed 361 persisted data to be parsed (unused)
362 </dd> 362 </dd>
363 </dl> 363 </dl>
364 <dl> 364 <dl>
365 <dt>Return:</dt> 365 <dt>Return:</dt>
366 <dd> 366 <dd>

eric ide

mercurial