Go to the documentation of this file.
3 #include "QColorDialog"
4 #include "QInputDialog"
26 if(!(x>=0 && x<Area->getWidthOfActive() && y>=0 && y<Area->getHeightOfActive())) {
37 if(newColor == oldColor) {
42 QPoint left, right, top, down;
44 QPoint Current = Q.front();
47 left = QPoint(Current.x() - 1,Current.y() );
48 right = QPoint(Current.x() + 1,Current.y() );
49 top = QPoint(Current.x(),Current.y() - 1);
50 down = QPoint(Current.x(),Current.y() + 1);
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
The PaintingArea class manages the methods and stores information about the current painting area,...
int width
width - Stores the width of a layer in pixels.
QColor getFirstColor()
A function to read the primary selected color.
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
int height
height - Stores the height of a layer in pixels.
The IntelliColorPicker manages the selected colors for one whole project.
IntelliImage * image
image - Stores the imageData of the current LayerObject.
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.