Documentation/Source/eric5.IconEditor.IconEditorGrid.html

changeset 2966
f85f686981ad
parent 2387
2d119e79ab54
child 3018
70924c0bdaf1
equal deleted inserted replaced
2965:d133c7edd88a 2966:f85f686981ad
410 </dd> 410 </dd>
411 </dl><a NAME="IconEditorGrid.__drawTool" ID="IconEditorGrid.__drawTool"></a> 411 </dl><a NAME="IconEditorGrid.__drawTool" ID="IconEditorGrid.__drawTool"></a>
412 <h4>IconEditorGrid.__drawTool</h4> 412 <h4>IconEditorGrid.__drawTool</h4>
413 <b>__drawTool</b>(<i>pos, mark</i>) 413 <b>__drawTool</b>(<i>pos, mark</i>)
414 <p> 414 <p>
415 Public method to perform a draw operation depending of the current tool. 415 Public method to perform a draw operation depending of the current
416 tool.
416 </p><dl> 417 </p><dl>
417 <dt><i>pos</i></dt> 418 <dt><i>pos</i></dt>
418 <dd> 419 <dd>
419 widget coordinate to perform the draw operation at (QPoint) 420 widget coordinate to perform the draw operation at (QPoint)
420 </dd><dt><i>mark</i></dt> 421 </dd><dt><i>mark</i></dt>
421 <dd> 422 <dd>
422 flag indicating a mark operation (boolean) 423 flag indicating a mark operation (boolean)
423 </dd><dt><i>flag</i></dt> 424 </dd>
424 <dd> 425 </dl><dl>
425 indicating a successful draw (boolean) 426 <dt>Returns:</dt>
427 <dd>
428 flag indicating a successful draw (boolean)
426 </dd> 429 </dd>
427 </dl><a NAME="IconEditorGrid.__getSelectionImage" ID="IconEditorGrid.__getSelectionImage"></a> 430 </dl><a NAME="IconEditorGrid.__getSelectionImage" ID="IconEditorGrid.__getSelectionImage"></a>
428 <h4>IconEditorGrid.__getSelectionImage</h4> 431 <h4>IconEditorGrid.__getSelectionImage</h4>
429 <b>__getSelectionImage</b>(<i>cut</i>) 432 <b>__getSelectionImage</b>(<i>cut</i>)
430 <p> 433 <p>
493 <dd> 496 <dd>
494 x-coordinate of the pixel in the image (integer) 497 x-coordinate of the pixel in the image (integer)
495 </dd><dt><i>j</i></dt> 498 </dd><dt><i>j</i></dt>
496 <dd> 499 <dd>
497 y-coordinate of the pixel in the image (integer) 500 y-coordinate of the pixel in the image (integer)
498 return rectangle for the given pixel coordinates (QRect) 501 </dd>
502 </dl><dl>
503 <dt>Returns:</dt>
504 <dd>
505 rectangle for the given pixel coordinates (QRect)
499 </dd> 506 </dd>
500 </dl><a NAME="IconEditorGrid.__setImagePixel" ID="IconEditorGrid.__setImagePixel"></a> 507 </dl><a NAME="IconEditorGrid.__setImagePixel" ID="IconEditorGrid.__setImagePixel"></a>
501 <h4>IconEditorGrid.__setImagePixel</h4> 508 <h4>IconEditorGrid.__setImagePixel</h4>
502 <b>__setImagePixel</b>(<i>pos, opaque</i>) 509 <b>__setImagePixel</b>(<i>pos, opaque</i>)
503 <p> 510 <p>

eric ide

mercurial