Module implementing the icon editor grid.
None |
IconEditCommand | Class implementing an undo command for the icon editor. |
IconEditorGrid | Class implementing the icon editor grid. |
None |
Class implementing an undo command for the icon editor.
None |
None |
IconEditCommand | Constructor |
redo | Public method to perform the redo. |
setAfterImage | Public method to set the image after the changes were applied. |
undo | Public method to perform the undo. |
None |
Constructor
Public method to perform the redo.
Public method to set the image after the changes were applied.
Public method to perform the undo.
Class implementing the icon editor grid.
Circle |
CircleSelection |
ColorPicker |
Ellipse |
Fill |
FilledCircle |
FilledEllipse |
FilledRectangle |
Line |
MarkColor |
NoMarkColor |
Pencil |
Rectangle |
RectangleSelection |
Rubber |
ZoomDefault |
ZoomMaximum |
ZoomMinimum |
ZoomPercent |
ZoomStep |
None |
IconEditorGrid | Constructor |
__checkClipboard | Private slot to check, if the clipboard contains a valid image, and signal the result. |
__cleanChanged | Private slot to handle the undo stack clean state change. |
__clipboardImage | Private method to get an image from the clipboard. |
__drawFlood | Private method to perform a flood fill operation. |
__drawPasteRect | Private slot to draw a rectangle for signaling a paste operation. |
__drawTool | Private method to perform a draw operation depending of the current tool. |
__getSelectionImage | Private method to get an image from the selection. |
__imageCoordinates | Private method to convert from widget to image coordinates. |
__initCursors | Private method to initialize the various cursors. |
__initUndoTexts | Private method to initialize texts to be associated with undo commands for the various drawing tools. |
__isMarked | Private method to check, if a pixel is marked. |
__pixelRect | Private method to determine the rectangle for a given pixel coordinate. |
__setImagePixel | Private slot to set or erase a pixel. |
__unMark | Private slot to remove the mark indicator. |
__updateImageRect | Private slot to update parts of the widget. |
__updatePreviewPixmap | Private slot to generate and signal an updated preview pixmap. |
__updateRect | Private slot to update parts of the widget. |
canPaste | Public slot to check the availability of the paste operation. |
canRedo | Public method to return the redo status. |
canUndo | Public method to return the undo status. |
compositingMode | Public method to get the compositing mode. |
editClear | Public slot to clear the image. |
editCopy | Public slot to copy the selection. |
editCut | Public slot to cut the selection. |
editNew | Public slot to generate a new, empty image. |
editPaste | Public slot to paste an image from the clipboard. |
editPasteAsNew | Public slot to paste the clipboard as a new image. |
editRedo | Public slot to perform a redo operation. |
editResize | Public slot to resize the image. |
editSelectAll | Public slot to select the complete image. |
editUndo | Public slot to perform an undo operation. |
grayScale | Public slot to convert the image to gray preserving transparency. |
iconImage | Public method to get a copy of the icon image. |
iconSize | Public method to get the size of the icon. |
isDirty | Public method to check the dirty status. |
isGridEnabled | Public method to get the grid lines status. |
isSelectionAvailable | Public method to check the availability of a selection. |
mouseMoveEvent | Protected method to handle mouse move events. |
mousePressEvent | Protected method to handle mouse button press events. |
mouseReleaseEvent | Protected method to handle mouse button release events. |
paintEvent | Protected method called to repaint some of the widget. |
penColor | Public method to get the current drawing color. |
previewPixmap | Public method to generate a preview pixmap. |
setCompositingMode | Public method to set the compositing mode. |
setDirty | Public slot to set the dirty flag. |
setGridEnabled | Public method to enable the display of grid lines. |
setIconImage | Public method to set a new icon image. |
setPenColor | Public method to set the drawing color. |
setTool | Public method to set the current drawing tool. |
setZoomFactor | Public method to set the zoom factor in percent. |
shutdown | Public slot to perform some shutdown actions. |
sizeHint | Public method to report the size hint. |
tool | Public method to get the current drawing tool. |
zoomFactor | Public method to get the current zoom factor in percent. |
None |
Constructor
Private slot to check, if the clipboard contains a valid image, and signal the result.
Private slot to handle the undo stack clean state change.
Private method to get an image from the clipboard.
Private method to perform a flood fill operation.
Private slot to draw a rectangle for signaling a paste operation.
Private method to perform a draw operation depending of the current tool.
Private method to get an image from the selection.
Private method to convert from widget to image coordinates.
Private method to initialize the various cursors.
Private method to initialize texts to be associated with undo commands for the various drawing tools.
Private method to check, if a pixel is marked.
Private method to determine the rectangle for a given pixel coordinate.
Private slot to set or erase a pixel.
Private slot to remove the mark indicator.
Private slot to update parts of the widget.
Private slot to generate and signal an updated preview pixmap.
Private slot to update parts of the widget.
Public slot to check the availability of the paste operation.
Public method to return the redo status.
Public method to return the undo status.
Public method to get the compositing mode.
Public slot to clear the image.
Public slot to copy the selection.
Public slot to cut the selection.
Public slot to generate a new, empty image.
Public slot to paste an image from the clipboard.
Public slot to paste the clipboard as a new image.
Public slot to perform a redo operation.
Public slot to resize the image.
Public slot to select the complete image.
Public slot to perform an undo operation.
Public slot to convert the image to gray preserving transparency.
Public method to get a copy of the icon image.
Public method to get the size of the icon.
Public method to check the dirty status.
Public method to get the grid lines status.
Public method to check the availability of a selection.
Protected method to handle mouse move events.
Protected method to handle mouse button press events.
Protected method to handle mouse button release events.
Protected method called to repaint some of the widget.
Public method to get the current drawing color.
Public method to generate a preview pixmap.
Public method to set the compositing mode.
Public slot to set the dirty flag.
Public method to enable the display of grid lines.
Public method to set a new icon image.
Public method to set the drawing color.
Public method to set the current drawing tool.
Public method to set the zoom factor in percent.
Public slot to perform some shutdown actions.
Public method to report the size hint.
Public method to get the current drawing tool.
Public method to get the current zoom factor in percent.