67 <td>Public method to set the image after the changes were applied.</td> |
71 <td>Public method to set the image after the changes were applied.</td> |
68 </tr><tr> |
72 </tr><tr> |
69 <td><a href="#IconEditCommand.undo">undo</a></td> |
73 <td><a href="#IconEditCommand.undo">undo</a></td> |
70 <td>Public method to perform the undo.</td> |
74 <td>Public method to perform the undo.</td> |
71 </tr> |
75 </tr> |
|
76 </table> |
|
77 <h3>Static Methods</h3> |
|
78 <table> |
|
79 <tr><td>None</td></tr> |
72 </table> |
80 </table> |
73 <a NAME="IconEditCommand.__init__" ID="IconEditCommand.__init__"></a> |
81 <a NAME="IconEditCommand.__init__" ID="IconEditCommand.__init__"></a> |
74 <h4>IconEditCommand (Constructor)</h4> |
82 <h4>IconEditCommand (Constructor)</h4> |
75 <b>IconEditCommand</b>(<i>grid, text, oldImage, parent = None</i>) |
83 <b>IconEditCommand</b>(<i>grid, text, oldImage, parent = None</i>) |
76 <p> |
84 <p> |
114 <hr /><hr /> |
122 <hr /><hr /> |
115 <a NAME="IconEditorGrid" ID="IconEditorGrid"></a> |
123 <a NAME="IconEditorGrid" ID="IconEditorGrid"></a> |
116 <h2>IconEditorGrid</h2> |
124 <h2>IconEditorGrid</h2> |
117 <p> |
125 <p> |
118 Class implementing the icon editor grid. |
126 Class implementing the icon editor grid. |
119 </p><h4>Signals</h4> |
127 </p><h3>Signals</h3> |
120 <dl> |
128 <dl> |
121 <dt>canRedoChanged(bool)</dt> |
129 <dt>canRedoChanged(bool)</dt> |
122 <dd> |
130 <dd> |
123 emitted after the redo status has changed |
131 emitted after the redo status has changed |
124 </dd><dt>canUndoChanged(bool)</dt> |
132 </dd><dt>canUndoChanged(bool)</dt> |
152 QWidget |
160 QWidget |
153 <h3>Class Attributes</h3> |
161 <h3>Class Attributes</h3> |
154 <table> |
162 <table> |
155 <tr><td>Circle</td></tr><tr><td>CircleSelection</td></tr><tr><td>ColorPicker</td></tr><tr><td>Ellipse</td></tr><tr><td>Fill</td></tr><tr><td>FilledCircle</td></tr><tr><td>FilledEllipse</td></tr><tr><td>FilledRectangle</td></tr><tr><td>Line</td></tr><tr><td>MarkColor</td></tr><tr><td>NoMarkColor</td></tr><tr><td>Pencil</td></tr><tr><td>Rectangle</td></tr><tr><td>RectangleSelection</td></tr><tr><td>Rubber</td></tr> |
163 <tr><td>Circle</td></tr><tr><td>CircleSelection</td></tr><tr><td>ColorPicker</td></tr><tr><td>Ellipse</td></tr><tr><td>Fill</td></tr><tr><td>FilledCircle</td></tr><tr><td>FilledEllipse</td></tr><tr><td>FilledRectangle</td></tr><tr><td>Line</td></tr><tr><td>MarkColor</td></tr><tr><td>NoMarkColor</td></tr><tr><td>Pencil</td></tr><tr><td>Rectangle</td></tr><tr><td>RectangleSelection</td></tr><tr><td>Rubber</td></tr> |
156 </table> |
164 </table> |
|
165 <h3>Class Methods</h3> |
|
166 <table> |
|
167 <tr><td>None</td></tr> |
|
168 </table> |
157 <h3>Methods</h3> |
169 <h3>Methods</h3> |
158 <table> |
170 <table> |
159 <tr> |
171 <tr> |
160 <td><a href="#IconEditorGrid.__init__">IconEditorGrid</a></td> |
172 <td><a href="#IconEditorGrid.__init__">IconEditorGrid</a></td> |
161 <td>Constructor</td> |
173 <td>Constructor</td> |
320 <td>Public method to get the current drawing tool.</td> |
332 <td>Public method to get the current drawing tool.</td> |
321 </tr><tr> |
333 </tr><tr> |
322 <td><a href="#IconEditorGrid.zoomFactor">zoomFactor</a></td> |
334 <td><a href="#IconEditorGrid.zoomFactor">zoomFactor</a></td> |
323 <td>Public method to get the current zoom factor.</td> |
335 <td>Public method to get the current zoom factor.</td> |
324 </tr> |
336 </tr> |
|
337 </table> |
|
338 <h3>Static Methods</h3> |
|
339 <table> |
|
340 <tr><td>None</td></tr> |
325 </table> |
341 </table> |
326 <a NAME="IconEditorGrid.__init__" ID="IconEditorGrid.__init__"></a> |
342 <a NAME="IconEditorGrid.__init__" ID="IconEditorGrid.__init__"></a> |
327 <h4>IconEditorGrid (Constructor)</h4> |
343 <h4>IconEditorGrid (Constructor)</h4> |
328 <b>IconEditorGrid</b>(<i>parent = None</i>) |
344 <b>IconEditorGrid</b>(<i>parent = None</i>) |
329 <p> |
345 <p> |