Documentation/Source/eric5.IconEditor.IconEditorGrid.html

changeset 945
8cd4d08fa9f6
parent 767
27554f80d08f
child 1228
7afaf2fca55b
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
70 <td>Public method to perform the undo.</td> 70 <td>Public method to perform the undo.</td>
71 </tr> 71 </tr>
72 </table> 72 </table>
73 <a NAME="IconEditCommand.__init__" ID="IconEditCommand.__init__"></a> 73 <a NAME="IconEditCommand.__init__" ID="IconEditCommand.__init__"></a>
74 <h4>IconEditCommand (Constructor)</h4> 74 <h4>IconEditCommand (Constructor)</h4>
75 <b>IconEditCommand</b>(<i>grid, text, oldImage, parent = None</i>) 75 <b>IconEditCommand</b>(<i>grid, text, oldImage, parent=None</i>)
76 <p> 76 <p>
77 Constructor 77 Constructor
78 </p><dl> 78 </p><dl>
79 <dt><i>grid</i></dt> 79 <dt><i>grid</i></dt>
80 <dd> 80 <dd>
323 <td>Public method to get the current zoom factor.</td> 323 <td>Public method to get the current zoom factor.</td>
324 </tr> 324 </tr>
325 </table> 325 </table>
326 <a NAME="IconEditorGrid.__init__" ID="IconEditorGrid.__init__"></a> 326 <a NAME="IconEditorGrid.__init__" ID="IconEditorGrid.__init__"></a>
327 <h4>IconEditorGrid (Constructor)</h4> 327 <h4>IconEditorGrid (Constructor)</h4>
328 <b>IconEditorGrid</b>(<i>parent = None</i>) 328 <b>IconEditorGrid</b>(<i>parent=None</i>)
329 <p> 329 <p>
330 Constructor 330 Constructor
331 </p><dl> 331 </p><dl>
332 <dt><i>parent</i></dt> 332 <dt><i>parent</i></dt>
333 <dd> 333 <dd>
360 tuple with the image (QImage) and a flag indicating a 360 tuple with the image (QImage) and a flag indicating a
361 valid image (boolean) 361 valid image (boolean)
362 </dd> 362 </dd>
363 </dl><a NAME="IconEditorGrid.__drawFlood" ID="IconEditorGrid.__drawFlood"></a> 363 </dl><a NAME="IconEditorGrid.__drawFlood" ID="IconEditorGrid.__drawFlood"></a>
364 <h4>IconEditorGrid.__drawFlood</h4> 364 <h4>IconEditorGrid.__drawFlood</h4>
365 <b>__drawFlood</b>(<i>i, j, oldColor, doUpdate = True</i>) 365 <b>__drawFlood</b>(<i>i, j, oldColor, doUpdate=True</i>)
366 <p> 366 <p>
367 Private method to perform a flood fill operation. 367 Private method to perform a flood fill operation.
368 </p><dl> 368 </p><dl>
369 <dt><i>i</i></dt> 369 <dt><i>i</i></dt>
370 <dd> 370 <dd>
588 <b>editNew</b>(<i></i>) 588 <b>editNew</b>(<i></i>)
589 <p> 589 <p>
590 Public slot to generate a new, empty image. 590 Public slot to generate a new, empty image.
591 </p><a NAME="IconEditorGrid.editPaste" ID="IconEditorGrid.editPaste"></a> 591 </p><a NAME="IconEditorGrid.editPaste" ID="IconEditorGrid.editPaste"></a>
592 <h4>IconEditorGrid.editPaste</h4> 592 <h4>IconEditorGrid.editPaste</h4>
593 <b>editPaste</b>(<i>pasting = False</i>) 593 <b>editPaste</b>(<i>pasting=False</i>)
594 <p> 594 <p>
595 Public slot to paste an image from the clipboard. 595 Public slot to paste an image from the clipboard.
596 </p><dl> 596 </p><dl>
597 <dt><i>pasting</i></dt> 597 <dt><i>pasting</i></dt>
598 <dd> 598 <dd>
748 <dd> 748 <dd>
749 compositing mode to set (QPainter.CompositionMode) 749 compositing mode to set (QPainter.CompositionMode)
750 </dd> 750 </dd>
751 </dl><a NAME="IconEditorGrid.setDirty" ID="IconEditorGrid.setDirty"></a> 751 </dl><a NAME="IconEditorGrid.setDirty" ID="IconEditorGrid.setDirty"></a>
752 <h4>IconEditorGrid.setDirty</h4> 752 <h4>IconEditorGrid.setDirty</h4>
753 <b>setDirty</b>(<i>dirty, setCleanState = False</i>) 753 <b>setDirty</b>(<i>dirty, setCleanState=False</i>)
754 <p> 754 <p>
755 Public slot to set the dirty flag. 755 Public slot to set the dirty flag.
756 </p><dl> 756 </p><dl>
757 <dt><i>dirty</i></dt> 757 <dt><i>dirty</i></dt>
758 <dd> 758 <dd>
771 <dd> 771 <dd>
772 enabled status of the grid lines (boolean) 772 enabled status of the grid lines (boolean)
773 </dd> 773 </dd>
774 </dl><a NAME="IconEditorGrid.setIconImage" ID="IconEditorGrid.setIconImage"></a> 774 </dl><a NAME="IconEditorGrid.setIconImage" ID="IconEditorGrid.setIconImage"></a>
775 <h4>IconEditorGrid.setIconImage</h4> 775 <h4>IconEditorGrid.setIconImage</h4>
776 <b>setIconImage</b>(<i>newImage, undoRedo = False, clearUndo = False</i>) 776 <b>setIconImage</b>(<i>newImage, undoRedo=False, clearUndo=False</i>)
777 <p> 777 <p>
778 Public method to set a new icon image. 778 Public method to set a new icon image.
779 </p><dl> 779 </p><dl>
780 <dt><i>newImage</i></dt> 780 <dt><i>newImage</i></dt>
781 <dd> 781 <dd>

eric ide

mercurial