Documentation/Source/eric5.IconEditor.IconEditorGrid.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.IconEditor.IconEditorGrid</h1> 23 <h1>eric5.IconEditor.IconEditorGrid</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114; &#103;&#114;&#105;&#100;. 25 Module implementing the icon editor grid.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#IconEditCommand">IconEditCommand</a></td> 34 <td><a href="#IconEditCommand">IconEditCommand</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#117;&#110;&#100;&#111; &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#102;&#111;&#114; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114;.</td> 35 <td>Class implementing an undo command for the icon editor.</td>
36 </tr><tr> 36 </tr><tr>
37 <td><a href="#IconEditorGrid">IconEditorGrid</a></td> 37 <td><a href="#IconEditorGrid">IconEditorGrid</a></td>
38 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114; &#103;&#114;&#105;&#100;.</td> 38 <td>Class implementing the icon editor grid.</td>
39 </tr> 39 </tr>
40 </table> 40 </table>
41 <h3>Functions</h3> 41 <h3>Functions</h3>
42 <table> 42 <table>
43 <tr><td>None</td></tr> 43 <tr><td>None</td></tr>
44 </table> 44 </table>
45 <hr /><hr /> 45 <hr /><hr />
46 <a NAME="IconEditCommand" ID="IconEditCommand"></a> 46 <a NAME="IconEditCommand" ID="IconEditCommand"></a>
47 <h2>IconEditCommand</h2> 47 <h2>IconEditCommand</h2>
48 <p> 48 <p>
49 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#117;&#110;&#100;&#111; &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#102;&#111;&#114; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114;. 49 Class implementing an undo command for the icon editor.
50 </p> 50 </p>
51 <h3>Derived from</h3> 51 <h3>Derived from</h3>
52 QUndoCommand 52 QUndoCommand
53 <h3>Class Attributes</h3> 53 <h3>Class Attributes</h3>
54 <table> 54 <table>
56 </table> 56 </table>
57 <h3>Methods</h3> 57 <h3>Methods</h3>
58 <table> 58 <table>
59 <tr> 59 <tr>
60 <td><a href="#IconEditCommand.__init__">IconEditCommand</a></td> 60 <td><a href="#IconEditCommand.__init__">IconEditCommand</a></td>
61 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 61 <td>Constructor</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#IconEditCommand.redo">redo</a></td> 63 <td><a href="#IconEditCommand.redo">redo</a></td>
64 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#116;&#104;&#101; &#114;&#101;&#100;&#111;.</td> 64 <td>Public method to perform the redo.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#IconEditCommand.setAfterImage">setAfterImage</a></td> 66 <td><a href="#IconEditCommand.setAfterImage">setAfterImage</a></td>
67 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#115; w&#101;&#114;&#101; &#97;&#112;&#112;&#108;&#105;&#101;&#100;.</td> 67 <td>Public method to set the image after the changes were applied.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#IconEditCommand.undo">undo</a></td> 69 <td><a href="#IconEditCommand.undo">undo</a></td>
70 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#116;&#104;&#101; &#117;&#110;&#100;&#111;.</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 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 77 Constructor
78 </p><dl> 78 </p><dl>
79 <dt><i>grid</i></dt> 79 <dt><i>grid</i></dt>
80 <dd> 80 <dd>
81 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114; &#103;&#114;&#105;&#100; (&#73;&#99;&#111;&#110;&#69;&#100;&#105;&#116;&#111;&#114;&#71;&#114;&#105;&#100;) 81 reference to the icon editor grid (IconEditorGrid)
82 </dd><dt><i>text</i></dt> 82 </dd><dt><i>text</i></dt>
83 <dd> 83 <dd>
84 &#116;&#101;x&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#117;&#110;&#100;&#111; &#99;&#111;&#109;&#109;&#97;&#110;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 84 text for the undo command (string)
85 </dd><dt><i>oldImage</i></dt> 85 </dd><dt><i>oldImage</i></dt>
86 <dd> 86 <dd>
87 &#99;&#111;&#112;y &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#98;&#101;&#102;&#111;&#114;&#101; &#116;&#104;&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#115; w&#101;&#114;&#101; &#97;&#112;&#112;&#108;&#105;&#101;&#100; (&#81;&#73;&#109;&#97;&#103;&#101;) 87 copy of the icon before the changes were applied (QImage)
88 </dd><dt><i>parent</i></dt> 88 </dd><dt><i>parent</i></dt>
89 <dd> 89 <dd>
90 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#99;&#111;&#109;&#109;&#97;&#110;&#100; (&#81;&#85;&#110;&#100;&#111;&#67;&#111;&#109;&#109;&#97;&#110;&#100;) 90 reference to the parent command (QUndoCommand)
91 </dd> 91 </dd>
92 </dl><a NAME="IconEditCommand.redo" ID="IconEditCommand.redo"></a> 92 </dl><a NAME="IconEditCommand.redo" ID="IconEditCommand.redo"></a>
93 <h4>IconEditCommand.redo</h4> 93 <h4>IconEditCommand.redo</h4>
94 <b>redo</b>(<i></i>) 94 <b>redo</b>(<i></i>)
95 <p> 95 <p>
96 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#116;&#104;&#101; &#114;&#101;&#100;&#111;. 96 Public method to perform the redo.
97 </p><a NAME="IconEditCommand.setAfterImage" ID="IconEditCommand.setAfterImage"></a> 97 </p><a NAME="IconEditCommand.setAfterImage" ID="IconEditCommand.setAfterImage"></a>
98 <h4>IconEditCommand.setAfterImage</h4> 98 <h4>IconEditCommand.setAfterImage</h4>
99 <b>setAfterImage</b>(<i>image</i>) 99 <b>setAfterImage</b>(<i>image</i>)
100 <p> 100 <p>
101 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#115; w&#101;&#114;&#101; &#97;&#112;&#112;&#108;&#105;&#101;&#100;. 101 Public method to set the image after the changes were applied.
102 </p><dl> 102 </p><dl>
103 <dt><i>image</i></dt> 103 <dt><i>image</i></dt>
104 <dd> 104 <dd>
105 &#99;&#111;&#112;y &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#115; w&#101;&#114;&#101; &#97;&#112;&#112;&#108;&#105;&#101;&#100; (&#81;&#73;&#109;&#97;&#103;&#101;) 105 copy of the icon after the changes were applied (QImage)
106 </dd> 106 </dd>
107 </dl><a NAME="IconEditCommand.undo" ID="IconEditCommand.undo"></a> 107 </dl><a NAME="IconEditCommand.undo" ID="IconEditCommand.undo"></a>
108 <h4>IconEditCommand.undo</h4> 108 <h4>IconEditCommand.undo</h4>
109 <b>undo</b>(<i></i>) 109 <b>undo</b>(<i></i>)
110 <p> 110 <p>
111 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#116;&#104;&#101; &#117;&#110;&#100;&#111;. 111 Public method to perform the undo.
112 </p> 112 </p>
113 <div align="right"><a href="#top">Up</a></div> 113 <div align="right"><a href="#top">Up</a></div>
114 <hr /><hr /> 114 <hr /><hr />
115 <a NAME="IconEditorGrid" ID="IconEditorGrid"></a> 115 <a NAME="IconEditorGrid" ID="IconEditorGrid"></a>
116 <h2>IconEditorGrid</h2> 116 <h2>IconEditorGrid</h2>
117 <p> 117 <p>
118 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114; &#103;&#114;&#105;&#100;. 118 Class implementing the icon editor grid.
119 </p><h4>Signals</h4> 119 </p><h4>Signals</h4>
120 <dl> 120 <dl>
121 <dt>canRedoChanged(bool)</dt> 121 <dt>canRedoChanged(bool)</dt>
122 <dd> 122 <dd>
123 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#114;&#101;&#100;&#111; &#115;&#116;&#97;&#116;&#117;&#115; &#104;&#97;&#115; &#99;&#104;&#97;&#110;&#103;&#101;&#100; 123 emitted after the redo status has changed
124 </dd><dt>canUndoChanged(bool)</dt> 124 </dd><dt>canUndoChanged(bool)</dt>
125 <dd> 125 <dd>
126 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#117;&#110;&#100;&#111; &#115;&#116;&#97;&#116;&#117;&#115; &#104;&#97;&#115; &#99;&#104;&#97;&#110;&#103;&#101;&#100; 126 emitted after the undo status has changed
127 </dd><dt>clipboardImageAvailable(bool)</dt> 127 </dd><dt>clipboardImageAvailable(bool)</dt>
128 <dd> 128 <dd>
129 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#115;&#105;&#103;&#110;&#97;&#108; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#97;&#110; 129 emitted to signal the availability of an
130 &#105;&#109;&#97;&#103;&#101; &#116;&#111; &#98;&#101; &#112;&#97;&#115;&#116;&#101;&#100; 130 image to be pasted
131 </dd><dt>colorChanged(const QColor&)</dt> 131 </dd><dt>colorChanged(const QColor&)</dt>
132 <dd> 132 <dd>
133 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#100;&#114;&#97;w&#105;&#110;&#103; &#99;&#111;&#108;&#111;&#114; w&#97;&#115; &#99;&#104;&#97;&#110;&#103;&#101;&#100; 133 emitted after the drawing color was changed
134 </dd><dt>imageChanged(bool)</dt> 134 </dd><dt>imageChanged(bool)</dt>
135 <dd> 135 <dd>
136 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; w&#97;&#115; &#109;&#111;&#100;&#105;&#102;&#105;&#101;&#100; 136 emitted after the image was modified
137 </dd><dt>positionChanged(int, int)</dt> 137 </dd><dt>positionChanged(int, int)</dt>
138 <dd> 138 <dd>
139 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#99;&#117;&#114;&#115;&#111;&#114; &#112;&#111;&#105;&#116;&#105;&#111;&#110; w&#97;&#115; &#99;&#104;&#97;&#110;&#103;&#101;&#100; 139 emitted after the cursor poition was changed
140 </dd><dt>previewChanged(const QPixmap&)</dt> 140 </dd><dt>previewChanged(const QPixmap&)</dt>
141 <dd> 141 <dd>
142 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#115;&#105;&#103;&#110;&#97;&#108; &#97; &#110;&#101;w &#112;&#114;&#101;v&#105;&#101;w &#112;&#105;x&#109;&#97;&#112; 142 emitted to signal a new preview pixmap
143 </dd><dt>selectionAvailable(bool)</dt> 143 </dd><dt>selectionAvailable(bool)</dt>
144 <dd> 144 <dd>
145 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#115;&#105;&#103;&#110;&#97;&#108; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; 145 emitted to signal a change of the selection
146 </dd><dt>sizeChanged(int, int)</dt> 146 </dd><dt>sizeChanged(int, int)</dt>
147 <dd> 147 <dd>
148 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#115;&#105;z&#101; &#104;&#97;&#115; &#98;&#101;&#101;&#110; &#99;&#104;&#97;&#110;&#103;&#101;&#100; 148 emitted after the size has been changed
149 </dd> 149 </dd>
150 </dl> 150 </dl>
151 <h3>Derived from</h3> 151 <h3>Derived from</h3>
152 QWidget 152 QWidget
153 <h3>Class Attributes</h3> 153 <h3>Class Attributes</h3>
156 </table> 156 </table>
157 <h3>Methods</h3> 157 <h3>Methods</h3>
158 <table> 158 <table>
159 <tr> 159 <tr>
160 <td><a href="#IconEditorGrid.__init__">IconEditorGrid</a></td> 160 <td><a href="#IconEditorGrid.__init__">IconEditorGrid</a></td>
161 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 161 <td>Constructor</td>
162 </tr><tr> 162 </tr><tr>
163 <td><a href="#IconEditorGrid.__checkClipboard">__checkClipboard</a></td> 163 <td><a href="#IconEditorGrid.__checkClipboard">__checkClipboard</a></td>
164 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#115; &#97; v&#97;&#108;&#105;&#100; &#105;&#109;&#97;&#103;&#101;, &#97;&#110;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116;.</td> 164 <td>Private slot to check, if the clipboard contains a valid image, and signal the result.</td>
165 </tr><tr> 165 </tr><tr>
166 <td><a href="#IconEditorGrid.__cleanChanged">__cleanChanged</a></td> 166 <td><a href="#IconEditorGrid.__cleanChanged">__cleanChanged</a></td>
167 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#117;&#110;&#100;&#111; &#115;&#116;&#97;&#99;&#107; &#99;&#108;&#101;&#97;&#110; &#115;&#116;&#97;&#116;&#101; &#99;&#104;&#97;&#110;&#103;&#101;.</td> 167 <td>Private slot to handle the undo stack clean state change.</td>
168 </tr><tr> 168 </tr><tr>
169 <td><a href="#IconEditorGrid.__clipboardImage">__clipboardImage</a></td> 169 <td><a href="#IconEditorGrid.__clipboardImage">__clipboardImage</a></td>
170 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#110; &#105;&#109;&#97;&#103;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100;.</td> 170 <td>Private method to get an image from the clipboard.</td>
171 </tr><tr> 171 </tr><tr>
172 <td><a href="#IconEditorGrid.__drawFlood">__drawFlood</a></td> 172 <td><a href="#IconEditorGrid.__drawFlood">__drawFlood</a></td>
173 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#97; &#102;&#108;&#111;&#111;&#100; &#102;&#105;&#108;&#108; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;.</td> 173 <td>Private method to perform a flood fill operation.</td>
174 </tr><tr> 174 </tr><tr>
175 <td><a href="#IconEditorGrid.__drawPasteRect">__drawPasteRect</a></td> 175 <td><a href="#IconEditorGrid.__drawPasteRect">__drawPasteRect</a></td>
176 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#100;&#114;&#97;w &#97; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#102;&#111;&#114; &#115;&#105;&#103;&#110;&#97;&#108;&#105;&#110;&#103; &#97; &#112;&#97;&#115;&#116;&#101; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;.</td> 176 <td>Private slot to draw a rectangle for signaling a paste operation.</td>
177 </tr><tr> 177 </tr><tr>
178 <td><a href="#IconEditorGrid.__drawTool">__drawTool</a></td> 178 <td><a href="#IconEditorGrid.__drawTool">__drawTool</a></td>
179 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#97; &#100;&#114;&#97;w &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; &#100;&#101;&#112;&#101;&#110;&#100;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#116;&#111;&#111;&#108;.</td> 179 <td>Public method to perform a draw operation depending of the current tool.</td>
180 </tr><tr> 180 </tr><tr>
181 <td><a href="#IconEditorGrid.__getSelectionImage">__getSelectionImage</a></td> 181 <td><a href="#IconEditorGrid.__getSelectionImage">__getSelectionImage</a></td>
182 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#110; &#105;&#109;&#97;&#103;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;.</td> 182 <td>Private method to get an image from the selection.</td>
183 </tr><tr> 183 </tr><tr>
184 <td><a href="#IconEditorGrid.__imageCoordinates">__imageCoordinates</a></td> 184 <td><a href="#IconEditorGrid.__imageCoordinates">__imageCoordinates</a></td>
185 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#102;&#114;&#111;&#109; w&#105;&#100;&#103;&#101;&#116; &#116;&#111; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115;.</td> 185 <td>Private method to convert from widget to image coordinates.</td>
186 </tr><tr> 186 </tr><tr>
187 <td><a href="#IconEditorGrid.__initCursors">__initCursors</a></td> 187 <td><a href="#IconEditorGrid.__initCursors">__initCursors</a></td>
188 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; v&#97;&#114;&#105;&#111;&#117;&#115; &#99;&#117;&#114;&#115;&#111;&#114;&#115;.</td> 188 <td>Private method to initialize the various cursors.</td>
189 </tr><tr> 189 </tr><tr>
190 <td><a href="#IconEditorGrid.__initUndoTexts">__initUndoTexts</a></td> 190 <td><a href="#IconEditorGrid.__initUndoTexts">__initUndoTexts</a></td>
191 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#101;x&#116;&#115; &#116;&#111; &#98;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#101;&#100; w&#105;&#116;&#104; &#117;&#110;&#100;&#111; &#99;&#111;&#109;&#109;&#97;&#110;&#100;&#115; &#102;&#111;&#114; &#116;&#104;&#101; v&#97;&#114;&#105;&#111;&#117;&#115; &#100;&#114;&#97;w&#105;&#110;&#103; &#116;&#111;&#111;&#108;&#115;.</td> 191 <td>Private method to initialize texts to be associated with undo commands for the various drawing tools.</td>
192 </tr><tr> 192 </tr><tr>
193 <td><a href="#IconEditorGrid.__isMarked">__isMarked</a></td> 193 <td><a href="#IconEditorGrid.__isMarked">__isMarked</a></td>
194 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#112;&#105;x&#101;&#108; &#105;&#115; &#109;&#97;&#114;&#107;&#101;&#100;.</td> 194 <td>Private method to check, if a pixel is marked.</td>
195 </tr><tr> 195 </tr><tr>
196 <td><a href="#IconEditorGrid.__pixelRect">__pixelRect</a></td> 196 <td><a href="#IconEditorGrid.__pixelRect">__pixelRect</a></td>
197 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#102;&#111;&#114; &#97; &#103;&#105;v&#101;&#110; &#112;&#105;x&#101;&#108; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;.</td> 197 <td>Private method to determine the rectangle for a given pixel coordinate.</td>
198 </tr><tr> 198 </tr><tr>
199 <td><a href="#IconEditorGrid.__setImagePixel">__setImagePixel</a></td> 199 <td><a href="#IconEditorGrid.__setImagePixel">__setImagePixel</a></td>
200 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#116; &#111;&#114; &#101;&#114;&#97;&#115;&#101; &#97; &#112;&#105;x&#101;&#108;.</td> 200 <td>Private slot to set or erase a pixel.</td>
201 </tr><tr> 201 </tr><tr>
202 <td><a href="#IconEditorGrid.__unMark">__unMark</a></td> 202 <td><a href="#IconEditorGrid.__unMark">__unMark</a></td>
203 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#116;&#104;&#101; &#109;&#97;&#114;&#107; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#111;&#114;.</td> 203 <td>Private slot to remove the mark indicator.</td>
204 </tr><tr> 204 </tr><tr>
205 <td><a href="#IconEditorGrid.__updateImageRect">__updateImageRect</a></td> 205 <td><a href="#IconEditorGrid.__updateImageRect">__updateImageRect</a></td>
206 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#112;&#97;&#114;&#116;&#115; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.</td> 206 <td>Private slot to update parts of the widget.</td>
207 </tr><tr> 207 </tr><tr>
208 <td><a href="#IconEditorGrid.__updatePreviewPixmap">__updatePreviewPixmap</a></td> 208 <td><a href="#IconEditorGrid.__updatePreviewPixmap">__updatePreviewPixmap</a></td>
209 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97;&#110;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#97;&#110; &#117;&#112;&#100;&#97;&#116;&#101;&#100; &#112;&#114;&#101;v&#105;&#101;w &#112;&#105;x&#109;&#97;&#112;.</td> 209 <td>Private slot to generate and signal an updated preview pixmap.</td>
210 </tr><tr> 210 </tr><tr>
211 <td><a href="#IconEditorGrid.__updateRect">__updateRect</a></td> 211 <td><a href="#IconEditorGrid.__updateRect">__updateRect</a></td>
212 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#112;&#97;&#114;&#116;&#115; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.</td> 212 <td>Private slot to update parts of the widget.</td>
213 </tr><tr> 213 </tr><tr>
214 <td><a href="#IconEditorGrid.canPaste">canPaste</a></td> 214 <td><a href="#IconEditorGrid.canPaste">canPaste</a></td>
215 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#115;&#116;&#101; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;.</td> 215 <td>Public slot to check the availability of the paste operation.</td>
216 </tr><tr> 216 </tr><tr>
217 <td><a href="#IconEditorGrid.canRedo">canRedo</a></td> 217 <td><a href="#IconEditorGrid.canRedo">canRedo</a></td>
218 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#114;&#101;&#100;&#111; &#115;&#116;&#97;&#116;&#117;&#115;.</td> 218 <td>Public method to return the redo status.</td>
219 </tr><tr> 219 </tr><tr>
220 <td><a href="#IconEditorGrid.canUndo">canUndo</a></td> 220 <td><a href="#IconEditorGrid.canUndo">canUndo</a></td>
221 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#117;&#110;&#100;&#111; &#115;&#116;&#97;&#116;&#117;&#115;.</td> 221 <td>Public method to return the undo status.</td>
222 </tr><tr> 222 </tr><tr>
223 <td><a href="#IconEditorGrid.editClear">editClear</a></td> 223 <td><a href="#IconEditorGrid.editClear">editClear</a></td>
224 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101;.</td> 224 <td>Public slot to clear the image.</td>
225 </tr><tr> 225 </tr><tr>
226 <td><a href="#IconEditorGrid.editCopy">editCopy</a></td> 226 <td><a href="#IconEditorGrid.editCopy">editCopy</a></td>
227 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#112;y &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;.</td> 227 <td>Public slot to copy the selection.</td>
228 </tr><tr> 228 </tr><tr>
229 <td><a href="#IconEditorGrid.editCut">editCut</a></td> 229 <td><a href="#IconEditorGrid.editCut">editCut</a></td>
230 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#117;&#116; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;.</td> 230 <td>Public slot to cut the selection.</td>
231 </tr><tr> 231 </tr><tr>
232 <td><a href="#IconEditorGrid.editNew">editNew</a></td> 232 <td><a href="#IconEditorGrid.editNew">editNew</a></td>
233 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97; &#110;&#101;w, &#101;&#109;&#112;&#116;y &#105;&#109;&#97;&#103;&#101;.</td> 233 <td>Public slot to generate a new, empty image.</td>
234 </tr><tr> 234 </tr><tr>
235 <td><a href="#IconEditorGrid.editPaste">editPaste</a></td> 235 <td><a href="#IconEditorGrid.editPaste">editPaste</a></td>
236 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#97;&#115;&#116;&#101; &#97;&#110; &#105;&#109;&#97;&#103;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100;.</td> 236 <td>Public slot to paste an image from the clipboard.</td>
237 </tr><tr> 237 </tr><tr>
238 <td><a href="#IconEditorGrid.editPasteAsNew">editPasteAsNew</a></td> 238 <td><a href="#IconEditorGrid.editPasteAsNew">editPasteAsNew</a></td>
239 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#97;&#115;&#116;&#101; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100; &#97;&#115; &#97; &#110;&#101;w &#105;&#109;&#97;&#103;&#101;.</td> 239 <td>Public slot to paste the clipboard as a new image.</td>
240 </tr><tr> 240 </tr><tr>
241 <td><a href="#IconEditorGrid.editRedo">editRedo</a></td> 241 <td><a href="#IconEditorGrid.editRedo">editRedo</a></td>
242 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#97; &#114;&#101;&#100;&#111; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;.</td> 242 <td>Public slot to perform a redo operation.</td>
243 </tr><tr> 243 </tr><tr>
244 <td><a href="#IconEditorGrid.editResize">editResize</a></td> 244 <td><a href="#IconEditorGrid.editResize">editResize</a></td>
245 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#115;&#105;z&#101; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101;.</td> 245 <td>Public slot to resize the image.</td>
246 </tr><tr> 246 </tr><tr>
247 <td><a href="#IconEditorGrid.editSelectAll">editSelectAll</a></td> 247 <td><a href="#IconEditorGrid.editSelectAll">editSelectAll</a></td>
248 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#108;&#101;&#99;&#116; &#116;&#104;&#101; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#101; &#105;&#109;&#97;&#103;&#101;.</td> 248 <td>Public slot to select the complete image.</td>
249 </tr><tr> 249 </tr><tr>
250 <td><a href="#IconEditorGrid.editUndo">editUndo</a></td> 250 <td><a href="#IconEditorGrid.editUndo">editUndo</a></td>
251 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#97;&#110; &#117;&#110;&#100;&#111; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;.</td> 251 <td>Public slot to perform an undo operation.</td>
252 </tr><tr> 252 </tr><tr>
253 <td><a href="#IconEditorGrid.grayScale">grayScale</a></td> 253 <td><a href="#IconEditorGrid.grayScale">grayScale</a></td>
254 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#116;&#111; &#103;&#114;&#97;y &#112;&#114;&#101;&#115;&#101;&#114;v&#105;&#110;&#103; &#116;&#114;&#97;&#110;&#115;&#112;&#97;&#114;&#101;&#110;&#99;y.</td> 254 <td>Public slot to convert the image to gray preserving transparency.</td>
255 </tr><tr> 255 </tr><tr>
256 <td><a href="#IconEditorGrid.iconImage">iconImage</a></td> 256 <td><a href="#IconEditorGrid.iconImage">iconImage</a></td>
257 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#99;&#111;&#112;y &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#105;&#109;&#97;&#103;&#101;.</td> 257 <td>Public method to get a copy of the icon image.</td>
258 </tr><tr> 258 </tr><tr>
259 <td><a href="#IconEditorGrid.iconSize">iconSize</a></td> 259 <td><a href="#IconEditorGrid.iconSize">iconSize</a></td>
260 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#115;&#105;z&#101; &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110;.</td> 260 <td>Public method to get the size of the icon.</td>
261 </tr><tr> 261 </tr><tr>
262 <td><a href="#IconEditorGrid.isDirty">isDirty</a></td> 262 <td><a href="#IconEditorGrid.isDirty">isDirty</a></td>
263 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#100;&#105;&#114;&#116;y &#115;&#116;&#97;&#116;&#117;&#115;.</td> 263 <td>Public method to check the dirty status.</td>
264 </tr><tr> 264 </tr><tr>
265 <td><a href="#IconEditorGrid.isGridEnabled">isGridEnabled</a></td> 265 <td><a href="#IconEditorGrid.isGridEnabled">isGridEnabled</a></td>
266 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#103;&#114;&#105;&#100; &#108;&#105;&#110;&#101;&#115; &#115;&#116;&#97;&#116;&#117;&#115;.</td> 266 <td>Public method to get the grid lines status.</td>
267 </tr><tr> 267 </tr><tr>
268 <td><a href="#IconEditorGrid.isSelectionAvailable">isSelectionAvailable</a></td> 268 <td><a href="#IconEditorGrid.isSelectionAvailable">isSelectionAvailable</a></td>
269 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#97; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;.</td> 269 <td>Public method to check the availability of a selection.</td>
270 </tr><tr> 270 </tr><tr>
271 <td><a href="#IconEditorGrid.mouseMoveEvent">mouseMoveEvent</a></td> 271 <td><a href="#IconEditorGrid.mouseMoveEvent">mouseMoveEvent</a></td>
272 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#109;&#111;&#117;&#115;&#101; &#109;&#111;v&#101; &#101;v&#101;&#110;&#116;&#115;.</td> 272 <td>Protected method to handle mouse move events.</td>
273 </tr><tr> 273 </tr><tr>
274 <td><a href="#IconEditorGrid.mousePressEvent">mousePressEvent</a></td> 274 <td><a href="#IconEditorGrid.mousePressEvent">mousePressEvent</a></td>
275 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#109;&#111;&#117;&#115;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116;&#115;.</td> 275 <td>Protected method to handle mouse button press events.</td>
276 </tr><tr> 276 </tr><tr>
277 <td><a href="#IconEditorGrid.mouseReleaseEvent">mouseReleaseEvent</a></td> 277 <td><a href="#IconEditorGrid.mouseReleaseEvent">mouseReleaseEvent</a></td>
278 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#109;&#111;&#117;&#115;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#114;&#101;&#108;&#101;&#97;&#115;&#101; &#101;v&#101;&#110;&#116;&#115;.</td> 278 <td>Protected method to handle mouse button release events.</td>
279 </tr><tr> 279 </tr><tr>
280 <td><a href="#IconEditorGrid.paintEvent">paintEvent</a></td> 280 <td><a href="#IconEditorGrid.paintEvent">paintEvent</a></td>
281 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#114;&#101;&#112;&#97;&#105;&#110;&#116; &#115;&#111;&#109;&#101; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.</td> 281 <td>Protected method called to repaint some of the widget.</td>
282 </tr><tr> 282 </tr><tr>
283 <td><a href="#IconEditorGrid.penColor">penColor</a></td> 283 <td><a href="#IconEditorGrid.penColor">penColor</a></td>
284 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#100;&#114;&#97;w&#105;&#110;&#103; &#99;&#111;&#108;&#111;&#114;.</td> 284 <td>Public method to get the current drawing color.</td>
285 </tr><tr> 285 </tr><tr>
286 <td><a href="#IconEditorGrid.previewPixmap">previewPixmap</a></td> 286 <td><a href="#IconEditorGrid.previewPixmap">previewPixmap</a></td>
287 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97; &#112;&#114;&#101;v&#105;&#101;w &#112;&#105;x&#109;&#97;&#112;.</td> 287 <td>Public method to generate a preview pixmap.</td>
288 </tr><tr> 288 </tr><tr>
289 <td><a href="#IconEditorGrid.setDirty">setDirty</a></td> 289 <td><a href="#IconEditorGrid.setDirty">setDirty</a></td>
290 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#105;&#114;&#116;y &#102;&#108;&#97;&#103;.</td> 290 <td>Public slot to set the dirty flag.</td>
291 </tr><tr> 291 </tr><tr>
292 <td><a href="#IconEditorGrid.setGridEnabled">setGridEnabled</a></td> 292 <td><a href="#IconEditorGrid.setGridEnabled">setGridEnabled</a></td>
293 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#100;&#105;&#115;&#112;&#108;&#97;y &#111;&#102; &#103;&#114;&#105;&#100; &#108;&#105;&#110;&#101;&#115;.</td> 293 <td>Public method to enable the display of grid lines.</td>
294 </tr><tr> 294 </tr><tr>
295 <td><a href="#IconEditorGrid.setIconImage">setIconImage</a></td> 295 <td><a href="#IconEditorGrid.setIconImage">setIconImage</a></td>
296 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#97; &#110;&#101;w &#105;&#99;&#111;&#110; &#105;&#109;&#97;&#103;&#101;.</td> 296 <td>Public method to set a new icon image.</td>
297 </tr><tr> 297 </tr><tr>
298 <td><a href="#IconEditorGrid.setPenColor">setPenColor</a></td> 298 <td><a href="#IconEditorGrid.setPenColor">setPenColor</a></td>
299 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#114;&#97;w&#105;&#110;&#103; &#99;&#111;&#108;&#111;&#114;.</td> 299 <td>Public method to set the drawing color.</td>
300 </tr><tr> 300 </tr><tr>
301 <td><a href="#IconEditorGrid.setTool">setTool</a></td> 301 <td><a href="#IconEditorGrid.setTool">setTool</a></td>
302 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#100;&#114;&#97;w&#105;&#110;&#103; &#116;&#111;&#111;&#108;.</td> 302 <td>Public method to set the current drawing tool.</td>
303 </tr><tr> 303 </tr><tr>
304 <td><a href="#IconEditorGrid.setZoomFactor">setZoomFactor</a></td> 304 <td><a href="#IconEditorGrid.setZoomFactor">setZoomFactor</a></td>
305 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;.</td> 305 <td>Public method to set the zoom factor.</td>
306 </tr><tr> 306 </tr><tr>
307 <td><a href="#IconEditorGrid.shutdown">shutdown</a></td> 307 <td><a href="#IconEditorGrid.shutdown">shutdown</a></td>
308 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#115;&#111;&#109;&#101; &#115;&#104;&#117;&#116;&#100;&#111;w&#110; &#97;&#99;&#116;&#105;&#111;&#110;&#115;.</td> 308 <td>Public slot to perform some shutdown actions.</td>
309 </tr><tr> 309 </tr><tr>
310 <td><a href="#IconEditorGrid.sizeHint">sizeHint</a></td> 310 <td><a href="#IconEditorGrid.sizeHint">sizeHint</a></td>
311 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#112;&#111;&#114;&#116; &#116;&#104;&#101; &#115;&#105;z&#101; &#104;&#105;&#110;&#116;.</td> 311 <td>Public method to report the size hint.</td>
312 </tr><tr> 312 </tr><tr>
313 <td><a href="#IconEditorGrid.tool">tool</a></td> 313 <td><a href="#IconEditorGrid.tool">tool</a></td>
314 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#100;&#114;&#97;w&#105;&#110;&#103; &#116;&#111;&#111;&#108;.</td> 314 <td>Public method to get the current drawing tool.</td>
315 </tr><tr> 315 </tr><tr>
316 <td><a href="#IconEditorGrid.zoomFactor">zoomFactor</a></td> 316 <td><a href="#IconEditorGrid.zoomFactor">zoomFactor</a></td>
317 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;.</td> 317 <td>Public method to get the current zoom factor.</td>
318 </tr> 318 </tr>
319 </table> 319 </table>
320 <a NAME="IconEditorGrid.__init__" ID="IconEditorGrid.__init__"></a> 320 <a NAME="IconEditorGrid.__init__" ID="IconEditorGrid.__init__"></a>
321 <h4>IconEditorGrid (Constructor)</h4> 321 <h4>IconEditorGrid (Constructor)</h4>
322 <b>IconEditorGrid</b>(<i>parent = None</i>) 322 <b>IconEditorGrid</b>(<i>parent = None</i>)
323 <p> 323 <p>
324 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 324 Constructor
325 </p><dl> 325 </p><dl>
326 <dt><i>parent</i></dt> 326 <dt><i>parent</i></dt>
327 <dd> 327 <dd>
328 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 328 reference to the parent widget (QWidget)
329 </dd> 329 </dd>
330 </dl><a NAME="IconEditorGrid.__checkClipboard" ID="IconEditorGrid.__checkClipboard"></a> 330 </dl><a NAME="IconEditorGrid.__checkClipboard" ID="IconEditorGrid.__checkClipboard"></a>
331 <h4>IconEditorGrid.__checkClipboard</h4> 331 <h4>IconEditorGrid.__checkClipboard</h4>
332 <b>__checkClipboard</b>(<i></i>) 332 <b>__checkClipboard</b>(<i></i>)
333 <p> 333 <p>
334 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#115; &#97; v&#97;&#108;&#105;&#100; &#105;&#109;&#97;&#103;&#101;, &#97;&#110;&#100; &#115;&#105;&#103;&#110;&#97;&#108; 334 Private slot to check, if the clipboard contains a valid image, and signal
335 &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116;. 335 the result.
336 </p><a NAME="IconEditorGrid.__cleanChanged" ID="IconEditorGrid.__cleanChanged"></a> 336 </p><a NAME="IconEditorGrid.__cleanChanged" ID="IconEditorGrid.__cleanChanged"></a>
337 <h4>IconEditorGrid.__cleanChanged</h4> 337 <h4>IconEditorGrid.__cleanChanged</h4>
338 <b>__cleanChanged</b>(<i>clean</i>) 338 <b>__cleanChanged</b>(<i>clean</i>)
339 <p> 339 <p>
340 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#117;&#110;&#100;&#111; &#115;&#116;&#97;&#99;&#107; &#99;&#108;&#101;&#97;&#110; &#115;&#116;&#97;&#116;&#101; &#99;&#104;&#97;&#110;&#103;&#101;. 340 Private slot to handle the undo stack clean state change.
341 </p><dl> 341 </p><dl>
342 <dt><i>clean</i></dt> 342 <dt><i>clean</i></dt>
343 <dd> 343 <dd>
344 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#108;&#101;&#97;&#110; &#115;&#116;&#97;&#116;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 344 flag indicating the clean state (boolean)
345 </dd> 345 </dd>
346 </dl><a NAME="IconEditorGrid.__clipboardImage" ID="IconEditorGrid.__clipboardImage"></a> 346 </dl><a NAME="IconEditorGrid.__clipboardImage" ID="IconEditorGrid.__clipboardImage"></a>
347 <h4>IconEditorGrid.__clipboardImage</h4> 347 <h4>IconEditorGrid.__clipboardImage</h4>
348 <b>__clipboardImage</b>(<i></i>) 348 <b>__clipboardImage</b>(<i></i>)
349 <p> 349 <p>
350 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#110; &#105;&#109;&#97;&#103;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100;. 350 Private method to get an image from the clipboard.
351 </p><dl> 351 </p><dl>
352 <dt>Returns:</dt> 352 <dt>Returns:</dt>
353 <dd> 353 <dd>
354 &#116;&#117;&#112;&#108;&#101; w&#105;&#116;&#104; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; (&#81;&#73;&#109;&#97;&#103;&#101;) &#97;&#110;&#100; &#97; &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; 354 tuple with the image (QImage) and a flag indicating a
355 v&#97;&#108;&#105;&#100; &#105;&#109;&#97;&#103;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 355 valid image (boolean)
356 </dd> 356 </dd>
357 </dl><a NAME="IconEditorGrid.__drawFlood" ID="IconEditorGrid.__drawFlood"></a> 357 </dl><a NAME="IconEditorGrid.__drawFlood" ID="IconEditorGrid.__drawFlood"></a>
358 <h4>IconEditorGrid.__drawFlood</h4> 358 <h4>IconEditorGrid.__drawFlood</h4>
359 <b>__drawFlood</b>(<i>i, j, oldColor, doUpdate = True</i>) 359 <b>__drawFlood</b>(<i>i, j, oldColor, doUpdate = True</i>)
360 <p> 360 <p>
361 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#97; &#102;&#108;&#111;&#111;&#100; &#102;&#105;&#108;&#108; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;. 361 Private method to perform a flood fill operation.
362 </p><dl> 362 </p><dl>
363 <dt><i>i</i></dt> 363 <dt><i>i</i></dt>
364 <dd> 364 <dd>
365 x-v&#97;&#108;&#117;&#101; &#105;&#110; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 365 x-value in image coordinates (integer)
366 </dd><dt><i>j</i></dt> 366 </dd><dt><i>j</i></dt>
367 <dd> 367 <dd>
368 y-v&#97;&#108;&#117;&#101; &#105;&#110; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 368 y-value in image coordinates (integer)
369 </dd><dt><i>oldColor</i></dt> 369 </dd><dt><i>oldColor</i></dt>
370 <dd> 370 <dd>
371 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#114; &#97;&#116; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#105;, &#106; (&#81;&#67;&#111;&#108;&#111;&#114;) 371 reference to the color at position i, j (QColor)
372 </dd><dt><i>doUpdate</i></dt> 372 </dd><dt><i>doUpdate</i></dt>
373 <dd> 373 <dd>
374 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;&#110; &#117;&#112;&#100;&#97;&#116;&#101; &#105;&#115; &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 374 flag indicating an update is requested (boolean)
375 (&#117;&#115;&#101;&#100; &#102;&#111;&#114; &#115;&#112;&#101;&#101;&#100; &#111;&#112;&#116;&#105;&#109;&#105;z&#97;&#116;&#105;&#111;&#110;&#115;) 375 (used for speed optimizations)
376 </dd> 376 </dd>
377 </dl><a NAME="IconEditorGrid.__drawPasteRect" ID="IconEditorGrid.__drawPasteRect"></a> 377 </dl><a NAME="IconEditorGrid.__drawPasteRect" ID="IconEditorGrid.__drawPasteRect"></a>
378 <h4>IconEditorGrid.__drawPasteRect</h4> 378 <h4>IconEditorGrid.__drawPasteRect</h4>
379 <b>__drawPasteRect</b>(<i>pos</i>) 379 <b>__drawPasteRect</b>(<i>pos</i>)
380 <p> 380 <p>
381 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#100;&#114;&#97;w &#97; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#102;&#111;&#114; &#115;&#105;&#103;&#110;&#97;&#108;&#105;&#110;&#103; &#97; &#112;&#97;&#115;&#116;&#101; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;. 381 Private slot to draw a rectangle for signaling a paste operation.
382 </p><dl> 382 </p><dl>
383 <dt><i>pos</i></dt> 383 <dt><i>pos</i></dt>
384 <dd> 384 <dd>
385 w&#105;&#100;&#103;&#101;&#116; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#115;&#116;&#101; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; (&#81;&#80;&#111;&#105;&#110;&#116;) 385 widget position of the paste rectangle (QPoint)
386 </dd> 386 </dd>
387 </dl><a NAME="IconEditorGrid.__drawTool" ID="IconEditorGrid.__drawTool"></a> 387 </dl><a NAME="IconEditorGrid.__drawTool" ID="IconEditorGrid.__drawTool"></a>
388 <h4>IconEditorGrid.__drawTool</h4> 388 <h4>IconEditorGrid.__drawTool</h4>
389 <b>__drawTool</b>(<i>pos, mark</i>) 389 <b>__drawTool</b>(<i>pos, mark</i>)
390 <p> 390 <p>
391 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#97; &#100;&#114;&#97;w &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; &#100;&#101;&#112;&#101;&#110;&#100;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#116;&#111;&#111;&#108;. 391 Public method to perform a draw operation depending of the current tool.
392 </p><dl> 392 </p><dl>
393 <dt><i>pos</i></dt> 393 <dt><i>pos</i></dt>
394 <dd> 394 <dd>
395 w&#105;&#100;&#103;&#101;&#116; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#116;&#104;&#101; &#100;&#114;&#97;w &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; &#97;&#116; (&#81;&#80;&#111;&#105;&#110;&#116;) 395 widget coordinate to perform the draw operation at (QPoint)
396 </dd><dt><i>mark</i></dt> 396 </dd><dt><i>mark</i></dt>
397 <dd> 397 <dd>
398 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#109;&#97;&#114;&#107; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 398 flag indicating a mark operation (boolean)
399 </dd><dt><i>flag</i></dt> 399 </dd><dt><i>flag</i></dt>
400 <dd> 400 <dd>
401 &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#100;&#114;&#97;w (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 401 indicating a successful draw (boolean)
402 </dd> 402 </dd>
403 </dl><a NAME="IconEditorGrid.__getSelectionImage" ID="IconEditorGrid.__getSelectionImage"></a> 403 </dl><a NAME="IconEditorGrid.__getSelectionImage" ID="IconEditorGrid.__getSelectionImage"></a>
404 <h4>IconEditorGrid.__getSelectionImage</h4> 404 <h4>IconEditorGrid.__getSelectionImage</h4>
405 <b>__getSelectionImage</b>(<i>cut</i>) 405 <b>__getSelectionImage</b>(<i>cut</i>)
406 <p> 406 <p>
407 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#110; &#105;&#109;&#97;&#103;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;. 407 Private method to get an image from the selection.
408 </p><dl> 408 </p><dl>
409 <dt><i>cut</i></dt> 409 <dt><i>cut</i></dt>
410 <dd> 410 <dd>
411 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#99;&#117;&#116; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 411 flag indicating to cut the selection (boolean)
412 </dd> 412 </dd>
413 </dl><dl> 413 </dl><dl>
414 <dt>Returns:</dt> 414 <dt>Returns:</dt>
415 <dd> 415 <dd>
416 &#105;&#109;&#97;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; (&#81;&#73;&#109;&#97;&#103;&#101;) 416 image of the selection (QImage)
417 </dd> 417 </dd>
418 </dl><a NAME="IconEditorGrid.__imageCoordinates" ID="IconEditorGrid.__imageCoordinates"></a> 418 </dl><a NAME="IconEditorGrid.__imageCoordinates" ID="IconEditorGrid.__imageCoordinates"></a>
419 <h4>IconEditorGrid.__imageCoordinates</h4> 419 <h4>IconEditorGrid.__imageCoordinates</h4>
420 <b>__imageCoordinates</b>(<i>pos</i>) 420 <b>__imageCoordinates</b>(<i>pos</i>)
421 <p> 421 <p>
422 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#102;&#114;&#111;&#109; w&#105;&#100;&#103;&#101;&#116; &#116;&#111; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115;. 422 Private method to convert from widget to image coordinates.
423 </p><dl> 423 </p><dl>
424 <dt><i>pos</i></dt> 424 <dt><i>pos</i></dt>
425 <dd> 425 <dd>
426 w&#105;&#100;&#103;&#101;&#116; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; (&#81;&#80;&#111;&#105;&#110;&#116;) 426 widget coordinate (QPoint)
427 </dd> 427 </dd>
428 </dl><dl> 428 </dl><dl>
429 <dt>Returns:</dt> 429 <dt>Returns:</dt>
430 <dd> 430 <dd>
431 &#116;&#117;&#112;&#108;&#101; w&#105;&#116;&#104; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#116;&#117;&#112;&#108;&#101; &#111;&#102; &#116;w&#111; &#105;&#110;&#116;&#101;&#103;&#101;&#114;&#115;) 431 tuple with the image coordinates (tuple of two integers)
432 </dd> 432 </dd>
433 </dl><a NAME="IconEditorGrid.__initCursors" ID="IconEditorGrid.__initCursors"></a> 433 </dl><a NAME="IconEditorGrid.__initCursors" ID="IconEditorGrid.__initCursors"></a>
434 <h4>IconEditorGrid.__initCursors</h4> 434 <h4>IconEditorGrid.__initCursors</h4>
435 <b>__initCursors</b>(<i></i>) 435 <b>__initCursors</b>(<i></i>)
436 <p> 436 <p>
437 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; v&#97;&#114;&#105;&#111;&#117;&#115; &#99;&#117;&#114;&#115;&#111;&#114;&#115;. 437 Private method to initialize the various cursors.
438 </p><a NAME="IconEditorGrid.__initUndoTexts" ID="IconEditorGrid.__initUndoTexts"></a> 438 </p><a NAME="IconEditorGrid.__initUndoTexts" ID="IconEditorGrid.__initUndoTexts"></a>
439 <h4>IconEditorGrid.__initUndoTexts</h4> 439 <h4>IconEditorGrid.__initUndoTexts</h4>
440 <b>__initUndoTexts</b>(<i></i>) 440 <b>__initUndoTexts</b>(<i></i>)
441 <p> 441 <p>
442 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#101;x&#116;&#115; &#116;&#111; &#98;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#101;&#100; w&#105;&#116;&#104; &#117;&#110;&#100;&#111; &#99;&#111;&#109;&#109;&#97;&#110;&#100;&#115; &#102;&#111;&#114; 442 Private method to initialize texts to be associated with undo commands for
443 &#116;&#104;&#101; v&#97;&#114;&#105;&#111;&#117;&#115; &#100;&#114;&#97;w&#105;&#110;&#103; &#116;&#111;&#111;&#108;&#115;. 443 the various drawing tools.
444 </p><a NAME="IconEditorGrid.__isMarked" ID="IconEditorGrid.__isMarked"></a> 444 </p><a NAME="IconEditorGrid.__isMarked" ID="IconEditorGrid.__isMarked"></a>
445 <h4>IconEditorGrid.__isMarked</h4> 445 <h4>IconEditorGrid.__isMarked</h4>
446 <b>__isMarked</b>(<i>i, j</i>) 446 <b>__isMarked</b>(<i>i, j</i>)
447 <p> 447 <p>
448 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#112;&#105;x&#101;&#108; &#105;&#115; &#109;&#97;&#114;&#107;&#101;&#100;. 448 Private method to check, if a pixel is marked.
449 </p><dl> 449 </p><dl>
450 <dt><i>i</i></dt> 450 <dt><i>i</i></dt>
451 <dd> 451 <dd>
452 x-v&#97;&#108;&#117;&#101; &#105;&#110; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 452 x-value in image coordinates (integer)
453 </dd><dt><i>j</i></dt> 453 </dd><dt><i>j</i></dt>
454 <dd> 454 <dd>
455 y-v&#97;&#108;&#117;&#101; &#105;&#110; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 455 y-value in image coordinates (integer)
456 </dd> 456 </dd>
457 </dl><dl> 457 </dl><dl>
458 <dt>Returns:</dt> 458 <dt>Returns:</dt>
459 <dd> 459 <dd>
460 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#109;&#97;&#114;&#107;&#101;&#100; &#112;&#105;x&#101;&#108; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 460 flag indicating a marked pixel (boolean)
461 </dd> 461 </dd>
462 </dl><a NAME="IconEditorGrid.__pixelRect" ID="IconEditorGrid.__pixelRect"></a> 462 </dl><a NAME="IconEditorGrid.__pixelRect" ID="IconEditorGrid.__pixelRect"></a>
463 <h4>IconEditorGrid.__pixelRect</h4> 463 <h4>IconEditorGrid.__pixelRect</h4>
464 <b>__pixelRect</b>(<i>i, j</i>) 464 <b>__pixelRect</b>(<i>i, j</i>)
465 <p> 465 <p>
466 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#102;&#111;&#114; &#97; &#103;&#105;v&#101;&#110; &#112;&#105;x&#101;&#108; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;. 466 Private method to determine the rectangle for a given pixel coordinate.
467 </p><dl> 467 </p><dl>
468 <dt><i>i</i></dt> 468 <dt><i>i</i></dt>
469 <dd> 469 <dd>
470 x-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#112;&#105;x&#101;&#108; &#105;&#110; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 470 x-coordinate of the pixel in the image (integer)
471 </dd><dt><i>j</i></dt> 471 </dd><dt><i>j</i></dt>
472 <dd> 472 <dd>
473 y-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; &#112;&#105;x&#101;&#108; &#105;&#110; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 473 y-coordinate of the pixel in the image (integer)
474 &#114;&#101;&#116;&#117;&#114;&#110; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#112;&#105;x&#101;&#108; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#81;&#82;&#101;&#99;&#116;) 474 return rectangle for the given pixel coordinates (QRect)
475 </dd> 475 </dd>
476 </dl><a NAME="IconEditorGrid.__setImagePixel" ID="IconEditorGrid.__setImagePixel"></a> 476 </dl><a NAME="IconEditorGrid.__setImagePixel" ID="IconEditorGrid.__setImagePixel"></a>
477 <h4>IconEditorGrid.__setImagePixel</h4> 477 <h4>IconEditorGrid.__setImagePixel</h4>
478 <b>__setImagePixel</b>(<i>pos, opaque</i>) 478 <b>__setImagePixel</b>(<i>pos, opaque</i>)
479 <p> 479 <p>
480 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#116; &#111;&#114; &#101;&#114;&#97;&#115;&#101; &#97; &#112;&#105;x&#101;&#108;. 480 Private slot to set or erase a pixel.
481 </p><dl> 481 </p><dl>
482 <dt><i>pos</i></dt> 482 <dt><i>pos</i></dt>
483 <dd> 483 <dd>
484 &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#112;&#105;x&#101;&#108; &#105;&#110; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116; (&#81;&#80;&#111;&#105;&#110;&#116;) 484 position of the pixel in the widget (QPoint)
485 </dd><dt><i>opaque</i></dt> 485 </dd><dt><i>opaque</i></dt>
486 <dd> 486 <dd>
487 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#115;&#101;&#116; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 487 flag indicating a set operation (boolean)
488 </dd> 488 </dd>
489 </dl><a NAME="IconEditorGrid.__unMark" ID="IconEditorGrid.__unMark"></a> 489 </dl><a NAME="IconEditorGrid.__unMark" ID="IconEditorGrid.__unMark"></a>
490 <h4>IconEditorGrid.__unMark</h4> 490 <h4>IconEditorGrid.__unMark</h4>
491 <b>__unMark</b>(<i></i>) 491 <b>__unMark</b>(<i></i>)
492 <p> 492 <p>
493 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#116;&#104;&#101; &#109;&#97;&#114;&#107; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#111;&#114;. 493 Private slot to remove the mark indicator.
494 </p><a NAME="IconEditorGrid.__updateImageRect" ID="IconEditorGrid.__updateImageRect"></a> 494 </p><a NAME="IconEditorGrid.__updateImageRect" ID="IconEditorGrid.__updateImageRect"></a>
495 <h4>IconEditorGrid.__updateImageRect</h4> 495 <h4>IconEditorGrid.__updateImageRect</h4>
496 <b>__updateImageRect</b>(<i>ipos1, ipos2</i>) 496 <b>__updateImageRect</b>(<i>ipos1, ipos2</i>)
497 <p> 497 <p>
498 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#112;&#97;&#114;&#116;&#115; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;. 498 Private slot to update parts of the widget.
499 </p><dl> 499 </p><dl>
500 <dt><i>ipos1</i></dt> 500 <dt><i>ipos1</i></dt>
501 <dd> 501 <dd>
502 &#116;&#111;&#112;, &#108;&#101;&#102;&#116; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#116;&#104;&#101; &#117;&#112;&#100;&#97;&#116;&#101; &#105;&#110; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#81;&#80;&#111;&#105;&#110;&#116;) 502 top, left position for the update in image coordinates (QPoint)
503 </dd><dt><i>ipos2</i></dt> 503 </dd><dt><i>ipos2</i></dt>
504 <dd> 504 <dd>
505 &#98;&#111;&#116;&#116;&#111;&#109;, &#114;&#105;&#103;&#104;&#116; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#116;&#104;&#101; &#117;&#112;&#100;&#97;&#116;&#101; &#105;&#110; &#105;&#109;&#97;&#103;&#101; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#81;&#80;&#111;&#105;&#110;&#116;) 505 bottom, right position for the update in image coordinates (QPoint)
506 </dd> 506 </dd>
507 </dl><a NAME="IconEditorGrid.__updatePreviewPixmap" ID="IconEditorGrid.__updatePreviewPixmap"></a> 507 </dl><a NAME="IconEditorGrid.__updatePreviewPixmap" ID="IconEditorGrid.__updatePreviewPixmap"></a>
508 <h4>IconEditorGrid.__updatePreviewPixmap</h4> 508 <h4>IconEditorGrid.__updatePreviewPixmap</h4>
509 <b>__updatePreviewPixmap</b>(<i></i>) 509 <b>__updatePreviewPixmap</b>(<i></i>)
510 <p> 510 <p>
511 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97;&#110;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#97;&#110; &#117;&#112;&#100;&#97;&#116;&#101;&#100; &#112;&#114;&#101;v&#105;&#101;w &#112;&#105;x&#109;&#97;&#112;. 511 Private slot to generate and signal an updated preview pixmap.
512 </p><a NAME="IconEditorGrid.__updateRect" ID="IconEditorGrid.__updateRect"></a> 512 </p><a NAME="IconEditorGrid.__updateRect" ID="IconEditorGrid.__updateRect"></a>
513 <h4>IconEditorGrid.__updateRect</h4> 513 <h4>IconEditorGrid.__updateRect</h4>
514 <b>__updateRect</b>(<i>pos1, pos2</i>) 514 <b>__updateRect</b>(<i>pos1, pos2</i>)
515 <p> 515 <p>
516 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#112;&#97;&#114;&#116;&#115; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;. 516 Private slot to update parts of the widget.
517 </p><dl> 517 </p><dl>
518 <dt><i>pos1</i></dt> 518 <dt><i>pos1</i></dt>
519 <dd> 519 <dd>
520 &#116;&#111;&#112;, &#108;&#101;&#102;&#116; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#116;&#104;&#101; &#117;&#112;&#100;&#97;&#116;&#101; &#105;&#110; w&#105;&#100;&#103;&#101;&#116; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#81;&#80;&#111;&#105;&#110;&#116;) 520 top, left position for the update in widget coordinates (QPoint)
521 </dd><dt><i>pos2</i></dt> 521 </dd><dt><i>pos2</i></dt>
522 <dd> 522 <dd>
523 &#98;&#111;&#116;&#116;&#111;&#109;, &#114;&#105;&#103;&#104;&#116; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#116;&#104;&#101; &#117;&#112;&#100;&#97;&#116;&#101; &#105;&#110; w&#105;&#100;&#103;&#101;&#116; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#81;&#80;&#111;&#105;&#110;&#116;) 523 bottom, right position for the update in widget coordinates (QPoint)
524 </dd> 524 </dd>
525 </dl><a NAME="IconEditorGrid.canPaste" ID="IconEditorGrid.canPaste"></a> 525 </dl><a NAME="IconEditorGrid.canPaste" ID="IconEditorGrid.canPaste"></a>
526 <h4>IconEditorGrid.canPaste</h4> 526 <h4>IconEditorGrid.canPaste</h4>
527 <b>canPaste</b>(<i></i>) 527 <b>canPaste</b>(<i></i>)
528 <p> 528 <p>
529 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#115;&#116;&#101; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;. 529 Public slot to check the availability of the paste operation.
530 </p><dl> 530 </p><dl>
531 <dt>Returns:</dt> 531 <dt>Returns:</dt>
532 <dd> 532 <dd>
533 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#112;&#97;&#115;&#116;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 533 flag indicating availability of paste (boolean)
534 </dd> 534 </dd>
535 </dl><a NAME="IconEditorGrid.canRedo" ID="IconEditorGrid.canRedo"></a> 535 </dl><a NAME="IconEditorGrid.canRedo" ID="IconEditorGrid.canRedo"></a>
536 <h4>IconEditorGrid.canRedo</h4> 536 <h4>IconEditorGrid.canRedo</h4>
537 <b>canRedo</b>(<i></i>) 537 <b>canRedo</b>(<i></i>)
538 <p> 538 <p>
539 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#114;&#101;&#100;&#111; &#115;&#116;&#97;&#116;&#117;&#115;. 539 Public method to return the redo status.
540 </p><dl> 540 </p><dl>
541 <dt>Returns:</dt> 541 <dt>Returns:</dt>
542 <dd> 542 <dd>
543 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#114;&#101;&#100;&#111; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 543 flag indicating the availability of redo (boolean)
544 </dd> 544 </dd>
545 </dl><a NAME="IconEditorGrid.canUndo" ID="IconEditorGrid.canUndo"></a> 545 </dl><a NAME="IconEditorGrid.canUndo" ID="IconEditorGrid.canUndo"></a>
546 <h4>IconEditorGrid.canUndo</h4> 546 <h4>IconEditorGrid.canUndo</h4>
547 <b>canUndo</b>(<i></i>) 547 <b>canUndo</b>(<i></i>)
548 <p> 548 <p>
549 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#117;&#110;&#100;&#111; &#115;&#116;&#97;&#116;&#117;&#115;. 549 Public method to return the undo status.
550 </p><dl> 550 </p><dl>
551 <dt>Returns:</dt> 551 <dt>Returns:</dt>
552 <dd> 552 <dd>
553 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#117;&#110;&#100;&#111; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 553 flag indicating the availability of undo (boolean)
554 </dd> 554 </dd>
555 </dl><a NAME="IconEditorGrid.editClear" ID="IconEditorGrid.editClear"></a> 555 </dl><a NAME="IconEditorGrid.editClear" ID="IconEditorGrid.editClear"></a>
556 <h4>IconEditorGrid.editClear</h4> 556 <h4>IconEditorGrid.editClear</h4>
557 <b>editClear</b>(<i></i>) 557 <b>editClear</b>(<i></i>)
558 <p> 558 <p>
559 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101;. 559 Public slot to clear the image.
560 </p><a NAME="IconEditorGrid.editCopy" ID="IconEditorGrid.editCopy"></a> 560 </p><a NAME="IconEditorGrid.editCopy" ID="IconEditorGrid.editCopy"></a>
561 <h4>IconEditorGrid.editCopy</h4> 561 <h4>IconEditorGrid.editCopy</h4>
562 <b>editCopy</b>(<i></i>) 562 <b>editCopy</b>(<i></i>)
563 <p> 563 <p>
564 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#112;y &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;. 564 Public slot to copy the selection.
565 </p><a NAME="IconEditorGrid.editCut" ID="IconEditorGrid.editCut"></a> 565 </p><a NAME="IconEditorGrid.editCut" ID="IconEditorGrid.editCut"></a>
566 <h4>IconEditorGrid.editCut</h4> 566 <h4>IconEditorGrid.editCut</h4>
567 <b>editCut</b>(<i></i>) 567 <b>editCut</b>(<i></i>)
568 <p> 568 <p>
569 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#117;&#116; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;. 569 Public slot to cut the selection.
570 </p><a NAME="IconEditorGrid.editNew" ID="IconEditorGrid.editNew"></a> 570 </p><a NAME="IconEditorGrid.editNew" ID="IconEditorGrid.editNew"></a>
571 <h4>IconEditorGrid.editNew</h4> 571 <h4>IconEditorGrid.editNew</h4>
572 <b>editNew</b>(<i></i>) 572 <b>editNew</b>(<i></i>)
573 <p> 573 <p>
574 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97; &#110;&#101;w, &#101;&#109;&#112;&#116;y &#105;&#109;&#97;&#103;&#101;. 574 Public slot to generate a new, empty image.
575 </p><a NAME="IconEditorGrid.editPaste" ID="IconEditorGrid.editPaste"></a> 575 </p><a NAME="IconEditorGrid.editPaste" ID="IconEditorGrid.editPaste"></a>
576 <h4>IconEditorGrid.editPaste</h4> 576 <h4>IconEditorGrid.editPaste</h4>
577 <b>editPaste</b>(<i>pasting = False</i>) 577 <b>editPaste</b>(<i>pasting = False</i>)
578 <p> 578 <p>
579 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#97;&#115;&#116;&#101; &#97;&#110; &#105;&#109;&#97;&#103;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100;. 579 Public slot to paste an image from the clipboard.
580 </p><dl> 580 </p><dl>
581 <dt><i>pasting</i></dt> 581 <dt><i>pasting</i></dt>
582 <dd> 582 <dd>
583 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#112;&#97;&#114;&#116; &#116;w&#111; &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#115;&#116;&#101; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 583 flag indicating part two of the paste operation (boolean)
584 </dd> 584 </dd>
585 </dl><a NAME="IconEditorGrid.editPasteAsNew" ID="IconEditorGrid.editPasteAsNew"></a> 585 </dl><a NAME="IconEditorGrid.editPasteAsNew" ID="IconEditorGrid.editPasteAsNew"></a>
586 <h4>IconEditorGrid.editPasteAsNew</h4> 586 <h4>IconEditorGrid.editPasteAsNew</h4>
587 <b>editPasteAsNew</b>(<i></i>) 587 <b>editPasteAsNew</b>(<i></i>)
588 <p> 588 <p>
589 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#97;&#115;&#116;&#101; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100; &#97;&#115; &#97; &#110;&#101;w &#105;&#109;&#97;&#103;&#101;. 589 Public slot to paste the clipboard as a new image.
590 </p><a NAME="IconEditorGrid.editRedo" ID="IconEditorGrid.editRedo"></a> 590 </p><a NAME="IconEditorGrid.editRedo" ID="IconEditorGrid.editRedo"></a>
591 <h4>IconEditorGrid.editRedo</h4> 591 <h4>IconEditorGrid.editRedo</h4>
592 <b>editRedo</b>(<i></i>) 592 <b>editRedo</b>(<i></i>)
593 <p> 593 <p>
594 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#97; &#114;&#101;&#100;&#111; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;. 594 Public slot to perform a redo operation.
595 </p><a NAME="IconEditorGrid.editResize" ID="IconEditorGrid.editResize"></a> 595 </p><a NAME="IconEditorGrid.editResize" ID="IconEditorGrid.editResize"></a>
596 <h4>IconEditorGrid.editResize</h4> 596 <h4>IconEditorGrid.editResize</h4>
597 <b>editResize</b>(<i></i>) 597 <b>editResize</b>(<i></i>)
598 <p> 598 <p>
599 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#115;&#105;z&#101; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101;. 599 Public slot to resize the image.
600 </p><a NAME="IconEditorGrid.editSelectAll" ID="IconEditorGrid.editSelectAll"></a> 600 </p><a NAME="IconEditorGrid.editSelectAll" ID="IconEditorGrid.editSelectAll"></a>
601 <h4>IconEditorGrid.editSelectAll</h4> 601 <h4>IconEditorGrid.editSelectAll</h4>
602 <b>editSelectAll</b>(<i></i>) 602 <b>editSelectAll</b>(<i></i>)
603 <p> 603 <p>
604 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#108;&#101;&#99;&#116; &#116;&#104;&#101; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#101; &#105;&#109;&#97;&#103;&#101;. 604 Public slot to select the complete image.
605 </p><a NAME="IconEditorGrid.editUndo" ID="IconEditorGrid.editUndo"></a> 605 </p><a NAME="IconEditorGrid.editUndo" ID="IconEditorGrid.editUndo"></a>
606 <h4>IconEditorGrid.editUndo</h4> 606 <h4>IconEditorGrid.editUndo</h4>
607 <b>editUndo</b>(<i></i>) 607 <b>editUndo</b>(<i></i>)
608 <p> 608 <p>
609 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#97;&#110; &#117;&#110;&#100;&#111; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;. 609 Public slot to perform an undo operation.
610 </p><a NAME="IconEditorGrid.grayScale" ID="IconEditorGrid.grayScale"></a> 610 </p><a NAME="IconEditorGrid.grayScale" ID="IconEditorGrid.grayScale"></a>
611 <h4>IconEditorGrid.grayScale</h4> 611 <h4>IconEditorGrid.grayScale</h4>
612 <b>grayScale</b>(<i></i>) 612 <b>grayScale</b>(<i></i>)
613 <p> 613 <p>
614 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#116;&#111; &#103;&#114;&#97;y &#112;&#114;&#101;&#115;&#101;&#114;v&#105;&#110;&#103; &#116;&#114;&#97;&#110;&#115;&#112;&#97;&#114;&#101;&#110;&#99;y. 614 Public slot to convert the image to gray preserving transparency.
615 </p><a NAME="IconEditorGrid.iconImage" ID="IconEditorGrid.iconImage"></a> 615 </p><a NAME="IconEditorGrid.iconImage" ID="IconEditorGrid.iconImage"></a>
616 <h4>IconEditorGrid.iconImage</h4> 616 <h4>IconEditorGrid.iconImage</h4>
617 <b>iconImage</b>(<i></i>) 617 <b>iconImage</b>(<i></i>)
618 <p> 618 <p>
619 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#99;&#111;&#112;y &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#105;&#109;&#97;&#103;&#101;. 619 Public method to get a copy of the icon image.
620 </p><dl> 620 </p><dl>
621 <dt>Returns:</dt> 621 <dt>Returns:</dt>
622 <dd> 622 <dd>
623 &#99;&#111;&#112;y &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#105;&#109;&#97;&#103;&#101; (&#81;&#73;&#109;&#97;&#103;&#101;) 623 copy of the icon image (QImage)
624 </dd> 624 </dd>
625 </dl><a NAME="IconEditorGrid.iconSize" ID="IconEditorGrid.iconSize"></a> 625 </dl><a NAME="IconEditorGrid.iconSize" ID="IconEditorGrid.iconSize"></a>
626 <h4>IconEditorGrid.iconSize</h4> 626 <h4>IconEditorGrid.iconSize</h4>
627 <b>iconSize</b>(<i></i>) 627 <b>iconSize</b>(<i></i>)
628 <p> 628 <p>
629 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#115;&#105;z&#101; &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110;. 629 Public method to get the size of the icon.
630 </p><dl> 630 </p><dl>
631 <dt>Returns:</dt> 631 <dt>Returns:</dt>
632 <dd> 632 <dd>
633 w&#105;&#100;&#116;&#104; &#97;&#110;&#100; &#104;&#101;&#105;&#103;&#104;&#116; &#111;&#102; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#97;&#115; &#97; &#116;&#117;&#112;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;, &#105;&#110;&#116;&#101;&#103;&#101;&#114;) 633 width and height of the image as a tuple (integer, integer)
634 </dd> 634 </dd>
635 </dl><a NAME="IconEditorGrid.isDirty" ID="IconEditorGrid.isDirty"></a> 635 </dl><a NAME="IconEditorGrid.isDirty" ID="IconEditorGrid.isDirty"></a>
636 <h4>IconEditorGrid.isDirty</h4> 636 <h4>IconEditorGrid.isDirty</h4>
637 <b>isDirty</b>(<i></i>) 637 <b>isDirty</b>(<i></i>)
638 <p> 638 <p>
639 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#100;&#105;&#114;&#116;y &#115;&#116;&#97;&#116;&#117;&#115;. 639 Public method to check the dirty status.
640 </p><dl> 640 </p><dl>
641 <dt>Returns:</dt> 641 <dt>Returns:</dt>
642 <dd> 642 <dd>
643 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#105;&#102;&#105;&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 643 flag indicating a modified status (boolean)
644 </dd> 644 </dd>
645 </dl><a NAME="IconEditorGrid.isGridEnabled" ID="IconEditorGrid.isGridEnabled"></a> 645 </dl><a NAME="IconEditorGrid.isGridEnabled" ID="IconEditorGrid.isGridEnabled"></a>
646 <h4>IconEditorGrid.isGridEnabled</h4> 646 <h4>IconEditorGrid.isGridEnabled</h4>
647 <b>isGridEnabled</b>(<i></i>) 647 <b>isGridEnabled</b>(<i></i>)
648 <p> 648 <p>
649 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#103;&#114;&#105;&#100; &#108;&#105;&#110;&#101;&#115; &#115;&#116;&#97;&#116;&#117;&#115;. 649 Public method to get the grid lines status.
650 </p><dl> 650 </p><dl>
651 <dt>Returns:</dt> 651 <dt>Returns:</dt>
652 <dd> 652 <dd>
653 &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#105;&#100; &#108;&#105;&#110;&#101;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 653 enabled status of the grid lines (boolean)
654 </dd> 654 </dd>
655 </dl><a NAME="IconEditorGrid.isSelectionAvailable" ID="IconEditorGrid.isSelectionAvailable"></a> 655 </dl><a NAME="IconEditorGrid.isSelectionAvailable" ID="IconEditorGrid.isSelectionAvailable"></a>
656 <h4>IconEditorGrid.isSelectionAvailable</h4> 656 <h4>IconEditorGrid.isSelectionAvailable</h4>
657 <b>isSelectionAvailable</b>(<i></i>) 657 <b>isSelectionAvailable</b>(<i></i>)
658 <p> 658 <p>
659 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#97; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;. 659 Public method to check the availability of a selection.
660 </p><dl> 660 </p><dl>
661 <dt>Returns:</dt> 661 <dt>Returns:</dt>
662 <dd> 662 <dd>
663 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#97; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 663 flag indicating the availability of a selection (boolean)
664 </dd> 664 </dd>
665 </dl><a NAME="IconEditorGrid.mouseMoveEvent" ID="IconEditorGrid.mouseMoveEvent"></a> 665 </dl><a NAME="IconEditorGrid.mouseMoveEvent" ID="IconEditorGrid.mouseMoveEvent"></a>
666 <h4>IconEditorGrid.mouseMoveEvent</h4> 666 <h4>IconEditorGrid.mouseMoveEvent</h4>
667 <b>mouseMoveEvent</b>(<i>evt</i>) 667 <b>mouseMoveEvent</b>(<i>evt</i>)
668 <p> 668 <p>
669 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#109;&#111;&#117;&#115;&#101; &#109;&#111;v&#101; &#101;v&#101;&#110;&#116;&#115;. 669 Protected method to handle mouse move events.
670 </p><dl> 670 </p><dl>
671 <dt><i>evt</i></dt> 671 <dt><i>evt</i></dt>
672 <dd> 672 <dd>
673 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#111;&#117;&#115;&#101; &#101;v&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#77;&#111;&#117;&#115;&#101;&#69;v&#101;&#110;&#116;) 673 reference to the mouse event object (QMouseEvent)
674 </dd> 674 </dd>
675 </dl><a NAME="IconEditorGrid.mousePressEvent" ID="IconEditorGrid.mousePressEvent"></a> 675 </dl><a NAME="IconEditorGrid.mousePressEvent" ID="IconEditorGrid.mousePressEvent"></a>
676 <h4>IconEditorGrid.mousePressEvent</h4> 676 <h4>IconEditorGrid.mousePressEvent</h4>
677 <b>mousePressEvent</b>(<i>evt</i>) 677 <b>mousePressEvent</b>(<i>evt</i>)
678 <p> 678 <p>
679 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#109;&#111;&#117;&#115;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116;&#115;. 679 Protected method to handle mouse button press events.
680 </p><dl> 680 </p><dl>
681 <dt><i>evt</i></dt> 681 <dt><i>evt</i></dt>
682 <dd> 682 <dd>
683 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#111;&#117;&#115;&#101; &#101;v&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#77;&#111;&#117;&#115;&#101;&#69;v&#101;&#110;&#116;) 683 reference to the mouse event object (QMouseEvent)
684 </dd> 684 </dd>
685 </dl><a NAME="IconEditorGrid.mouseReleaseEvent" ID="IconEditorGrid.mouseReleaseEvent"></a> 685 </dl><a NAME="IconEditorGrid.mouseReleaseEvent" ID="IconEditorGrid.mouseReleaseEvent"></a>
686 <h4>IconEditorGrid.mouseReleaseEvent</h4> 686 <h4>IconEditorGrid.mouseReleaseEvent</h4>
687 <b>mouseReleaseEvent</b>(<i>evt</i>) 687 <b>mouseReleaseEvent</b>(<i>evt</i>)
688 <p> 688 <p>
689 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#109;&#111;&#117;&#115;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#114;&#101;&#108;&#101;&#97;&#115;&#101; &#101;v&#101;&#110;&#116;&#115;. 689 Protected method to handle mouse button release events.
690 </p><dl> 690 </p><dl>
691 <dt><i>evt</i></dt> 691 <dt><i>evt</i></dt>
692 <dd> 692 <dd>
693 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#111;&#117;&#115;&#101; &#101;v&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#77;&#111;&#117;&#115;&#101;&#69;v&#101;&#110;&#116;) 693 reference to the mouse event object (QMouseEvent)
694 </dd> 694 </dd>
695 </dl><a NAME="IconEditorGrid.paintEvent" ID="IconEditorGrid.paintEvent"></a> 695 </dl><a NAME="IconEditorGrid.paintEvent" ID="IconEditorGrid.paintEvent"></a>
696 <h4>IconEditorGrid.paintEvent</h4> 696 <h4>IconEditorGrid.paintEvent</h4>
697 <b>paintEvent</b>(<i>evt</i>) 697 <b>paintEvent</b>(<i>evt</i>)
698 <p> 698 <p>
699 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#114;&#101;&#112;&#97;&#105;&#110;&#116; &#115;&#111;&#109;&#101; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;. 699 Protected method called to repaint some of the widget.
700 </p><dl> 700 </p><dl>
701 <dt><i>evt</i></dt> 701 <dt><i>evt</i></dt>
702 <dd> 702 <dd>
703 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#105;&#110;&#116; &#101;v&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#80;&#97;&#105;&#110;&#116;&#69;v&#101;&#110;&#116;) 703 reference to the paint event object (QPaintEvent)
704 </dd> 704 </dd>
705 </dl><a NAME="IconEditorGrid.penColor" ID="IconEditorGrid.penColor"></a> 705 </dl><a NAME="IconEditorGrid.penColor" ID="IconEditorGrid.penColor"></a>
706 <h4>IconEditorGrid.penColor</h4> 706 <h4>IconEditorGrid.penColor</h4>
707 <b>penColor</b>(<i></i>) 707 <b>penColor</b>(<i></i>)
708 <p> 708 <p>
709 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#100;&#114;&#97;w&#105;&#110;&#103; &#99;&#111;&#108;&#111;&#114;. 709 Public method to get the current drawing color.
710 </p><dl> 710 </p><dl>
711 <dt>Returns:</dt> 711 <dt>Returns:</dt>
712 <dd> 712 <dd>
713 &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#100;&#114;&#97;w&#105;&#110;&#103; &#99;&#111;&#108;&#111;&#114; (&#81;&#67;&#111;&#108;&#111;&#114;) 713 current drawing color (QColor)
714 </dd> 714 </dd>
715 </dl><a NAME="IconEditorGrid.previewPixmap" ID="IconEditorGrid.previewPixmap"></a> 715 </dl><a NAME="IconEditorGrid.previewPixmap" ID="IconEditorGrid.previewPixmap"></a>
716 <h4>IconEditorGrid.previewPixmap</h4> 716 <h4>IconEditorGrid.previewPixmap</h4>
717 <b>previewPixmap</b>(<i></i>) 717 <b>previewPixmap</b>(<i></i>)
718 <p> 718 <p>
719 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97; &#112;&#114;&#101;v&#105;&#101;w &#112;&#105;x&#109;&#97;&#112;. 719 Public method to generate a preview pixmap.
720 </p><dl> 720 </p><dl>
721 <dt>Returns:</dt> 721 <dt>Returns:</dt>
722 <dd> 722 <dd>
723 &#112;&#114;&#101;v&#105;&#101;w &#112;&#105;x&#109;&#97;&#112; (&#81;&#80;&#105;x&#109;&#97;&#112;) 723 preview pixmap (QPixmap)
724 </dd> 724 </dd>
725 </dl><a NAME="IconEditorGrid.setDirty" ID="IconEditorGrid.setDirty"></a> 725 </dl><a NAME="IconEditorGrid.setDirty" ID="IconEditorGrid.setDirty"></a>
726 <h4>IconEditorGrid.setDirty</h4> 726 <h4>IconEditorGrid.setDirty</h4>
727 <b>setDirty</b>(<i>dirty, setCleanState = False</i>) 727 <b>setDirty</b>(<i>dirty, setCleanState = False</i>)
728 <p> 728 <p>
729 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#105;&#114;&#116;y &#102;&#108;&#97;&#103;. 729 Public slot to set the dirty flag.
730 </p><dl> 730 </p><dl>
731 <dt><i>dirty</i></dt> 731 <dt><i>dirty</i></dt>
732 <dd> 732 <dd>
733 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#110;&#101;w &#109;&#111;&#100;&#105;&#102;&#105;&#99;&#97;&#116;&#105;&#111;&#110; &#115;&#116;&#97;&#116;&#117;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 733 flag indicating the new modification status (boolean)
734 </dd><dt><i>setCleanState</i></dt> 734 </dd><dt><i>setCleanState</i></dt>
735 <dd> 735 <dd>
736 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#117;&#110;&#100;&#111; &#115;&#116;&#97;&#99;&#107; &#116;&#111; &#99;&#108;&#101;&#97;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 736 flag indicating to set the undo stack to clean (boolean)
737 </dd> 737 </dd>
738 </dl><a NAME="IconEditorGrid.setGridEnabled" ID="IconEditorGrid.setGridEnabled"></a> 738 </dl><a NAME="IconEditorGrid.setGridEnabled" ID="IconEditorGrid.setGridEnabled"></a>
739 <h4>IconEditorGrid.setGridEnabled</h4> 739 <h4>IconEditorGrid.setGridEnabled</h4>
740 <b>setGridEnabled</b>(<i>enable</i>) 740 <b>setGridEnabled</b>(<i>enable</i>)
741 <p> 741 <p>
742 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#100;&#105;&#115;&#112;&#108;&#97;y &#111;&#102; &#103;&#114;&#105;&#100; &#108;&#105;&#110;&#101;&#115;. 742 Public method to enable the display of grid lines.
743 </p><dl> 743 </p><dl>
744 <dt><i>enable</i></dt> 744 <dt><i>enable</i></dt>
745 <dd> 745 <dd>
746 &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#105;&#100; &#108;&#105;&#110;&#101;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 746 enabled status of the grid lines (boolean)
747 </dd> 747 </dd>
748 </dl><a NAME="IconEditorGrid.setIconImage" ID="IconEditorGrid.setIconImage"></a> 748 </dl><a NAME="IconEditorGrid.setIconImage" ID="IconEditorGrid.setIconImage"></a>
749 <h4>IconEditorGrid.setIconImage</h4> 749 <h4>IconEditorGrid.setIconImage</h4>
750 <b>setIconImage</b>(<i>newImage, undoRedo = False, clearUndo = False</i>) 750 <b>setIconImage</b>(<i>newImage, undoRedo = False, clearUndo = False</i>)
751 <p> 751 <p>
752 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#97; &#110;&#101;w &#105;&#99;&#111;&#110; &#105;&#109;&#97;&#103;&#101;. 752 Public method to set a new icon image.
753 </p><dl> 753 </p><dl>
754 <dt><i>newImage</i></dt> 754 <dt><i>newImage</i></dt>
755 <dd> 755 <dd>
756 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;w &#105;&#109;&#97;&#103;&#101; (&#81;&#73;&#109;&#97;&#103;&#101;) 756 reference to the new image (QImage)
757 </dd><dt><i>undoRedo=</i></dt> 757 </dd><dt><i>undoRedo=</i></dt>
758 <dd> 758 <dd>
759 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;&#110; &#117;&#110;&#100;&#111; &#111;&#114; &#114;&#101;&#100;&#111; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 759 flag indicating an undo or redo operation (boolean)
760 </dd><dt><i>clearUndo=</i></dt> 760 </dd><dt><i>clearUndo=</i></dt>
761 <dd> 761 <dd>
762 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#117;&#110;&#100;&#111; &#115;&#116;&#97;&#99;&#107; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 762 flag indicating to clear the undo stack (boolean)
763 </dd> 763 </dd>
764 </dl><a NAME="IconEditorGrid.setPenColor" ID="IconEditorGrid.setPenColor"></a> 764 </dl><a NAME="IconEditorGrid.setPenColor" ID="IconEditorGrid.setPenColor"></a>
765 <h4>IconEditorGrid.setPenColor</h4> 765 <h4>IconEditorGrid.setPenColor</h4>
766 <b>setPenColor</b>(<i>newColor</i>) 766 <b>setPenColor</b>(<i>newColor</i>)
767 <p> 767 <p>
768 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#114;&#97;w&#105;&#110;&#103; &#99;&#111;&#108;&#111;&#114;. 768 Public method to set the drawing color.
769 </p><dl> 769 </p><dl>
770 <dt><i>newColor</i></dt> 770 <dt><i>newColor</i></dt>
771 <dd> 771 <dd>
772 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;w &#99;&#111;&#108;&#111;&#114; (&#81;&#67;&#111;&#108;&#111;&#114;) 772 reference to the new color (QColor)
773 </dd> 773 </dd>
774 </dl><a NAME="IconEditorGrid.setTool" ID="IconEditorGrid.setTool"></a> 774 </dl><a NAME="IconEditorGrid.setTool" ID="IconEditorGrid.setTool"></a>
775 <h4>IconEditorGrid.setTool</h4> 775 <h4>IconEditorGrid.setTool</h4>
776 <b>setTool</b>(<i>tool</i>) 776 <b>setTool</b>(<i>tool</i>)
777 <p> 777 <p>
778 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#100;&#114;&#97;w&#105;&#110;&#103; &#116;&#111;&#111;&#108;. 778 Public method to set the current drawing tool.
779 </p><dl> 779 </p><dl>
780 <dt><i>tool</i></dt> 780 <dt><i>tool</i></dt>
781 <dd> 781 <dd>
782 &#100;&#114;&#97;w&#105;&#110;&#103; &#116;&#111;&#111;&#108; &#116;&#111; &#98;&#101; &#117;&#115;&#101;&#100; 782 drawing tool to be used
783 (&#73;&#99;&#111;&#110;&#69;&#100;&#105;&#116;&#111;&#114;&#71;&#114;&#105;&#100;.&#80;&#101;&#110;&#99;&#105;&#108; ... &#73;&#99;&#111;&#110;&#69;&#100;&#105;&#116;&#111;&#114;&#71;&#114;&#105;&#100;.&#67;&#105;&#114;&#99;&#108;&#101;&#83;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;) 783 (IconEditorGrid.Pencil ... IconEditorGrid.CircleSelection)
784 </dd> 784 </dd>
785 </dl><a NAME="IconEditorGrid.setZoomFactor" ID="IconEditorGrid.setZoomFactor"></a> 785 </dl><a NAME="IconEditorGrid.setZoomFactor" ID="IconEditorGrid.setZoomFactor"></a>
786 <h4>IconEditorGrid.setZoomFactor</h4> 786 <h4>IconEditorGrid.setZoomFactor</h4>
787 <b>setZoomFactor</b>(<i>newZoom</i>) 787 <b>setZoomFactor</b>(<i>newZoom</i>)
788 <p> 788 <p>
789 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;. 789 Public method to set the zoom factor.
790 </p><dl> 790 </p><dl>
791 <dt><i>newZoom</i></dt> 791 <dt><i>newZoom</i></dt>
792 <dd> 792 <dd>
793 z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114; &#62;&#61; &#49;) 793 zoom factor (integer >= 1)
794 </dd> 794 </dd>
795 </dl><a NAME="IconEditorGrid.shutdown" ID="IconEditorGrid.shutdown"></a> 795 </dl><a NAME="IconEditorGrid.shutdown" ID="IconEditorGrid.shutdown"></a>
796 <h4>IconEditorGrid.shutdown</h4> 796 <h4>IconEditorGrid.shutdown</h4>
797 <b>shutdown</b>(<i></i>) 797 <b>shutdown</b>(<i></i>)
798 <p> 798 <p>
799 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#115;&#111;&#109;&#101; &#115;&#104;&#117;&#116;&#100;&#111;w&#110; &#97;&#99;&#116;&#105;&#111;&#110;&#115;. 799 Public slot to perform some shutdown actions.
800 </p><a NAME="IconEditorGrid.sizeHint" ID="IconEditorGrid.sizeHint"></a> 800 </p><a NAME="IconEditorGrid.sizeHint" ID="IconEditorGrid.sizeHint"></a>
801 <h4>IconEditorGrid.sizeHint</h4> 801 <h4>IconEditorGrid.sizeHint</h4>
802 <b>sizeHint</b>(<i></i>) 802 <b>sizeHint</b>(<i></i>)
803 <p> 803 <p>
804 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#112;&#111;&#114;&#116; &#116;&#104;&#101; &#115;&#105;z&#101; &#104;&#105;&#110;&#116;. 804 Public method to report the size hint.
805 </p><dl> 805 </p><dl>
806 <dt>Returns:</dt> 806 <dt>Returns:</dt>
807 <dd> 807 <dd>
808 &#115;&#105;z&#101; &#104;&#105;&#110;&#116; (&#81;&#83;&#105;z&#101;) 808 size hint (QSize)
809 </dd> 809 </dd>
810 </dl><a NAME="IconEditorGrid.tool" ID="IconEditorGrid.tool"></a> 810 </dl><a NAME="IconEditorGrid.tool" ID="IconEditorGrid.tool"></a>
811 <h4>IconEditorGrid.tool</h4> 811 <h4>IconEditorGrid.tool</h4>
812 <b>tool</b>(<i></i>) 812 <b>tool</b>(<i></i>)
813 <p> 813 <p>
814 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#100;&#114;&#97;w&#105;&#110;&#103; &#116;&#111;&#111;&#108;. 814 Public method to get the current drawing tool.
815 </p><dl> 815 </p><dl>
816 <dt>Returns:</dt> 816 <dt>Returns:</dt>
817 <dd> 817 <dd>
818 &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#100;&#114;&#97;w&#105;&#110;&#103; &#116;&#111;&#111;&#108; 818 current drawing tool
819 (&#73;&#99;&#111;&#110;&#69;&#100;&#105;&#116;&#111;&#114;&#71;&#114;&#105;&#100;.&#80;&#101;&#110;&#99;&#105;&#108; ... &#73;&#99;&#111;&#110;&#69;&#100;&#105;&#116;&#111;&#114;&#71;&#114;&#105;&#100;.&#67;&#105;&#114;&#99;&#108;&#101;&#83;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;) 819 (IconEditorGrid.Pencil ... IconEditorGrid.CircleSelection)
820 </dd> 820 </dd>
821 </dl><a NAME="IconEditorGrid.zoomFactor" ID="IconEditorGrid.zoomFactor"></a> 821 </dl><a NAME="IconEditorGrid.zoomFactor" ID="IconEditorGrid.zoomFactor"></a>
822 <h4>IconEditorGrid.zoomFactor</h4> 822 <h4>IconEditorGrid.zoomFactor</h4>
823 <b>zoomFactor</b>(<i></i>) 823 <b>zoomFactor</b>(<i></i>)
824 <p> 824 <p>
825 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;. 825 Public method to get the current zoom factor.
826 </p><dl> 826 </p><dl>
827 <dt>Returns:</dt> 827 <dt>Returns:</dt>
828 <dd> 828 <dd>
829 z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 829 zoom factor (integer)
830 </dd> 830 </dd>
831 </dl> 831 </dl>
832 <div align="right"><a href="#top">Up</a></div> 832 <div align="right"><a href="#top">Up</a></div>
833 <hr /> 833 <hr />
834 </body></html> 834 </body></html>

eric ide

mercurial