Go to the documentation of this file.
3 #include "QColorDialog"
4 #include "QInputDialog"
25 if(!(x>=0 && x<Area->getWidthOfActive() && y>=0 && y<Area->getHeightOfActive())) {
38 QPoint left, right, top, down;
40 QPoint Current = Q.front();
43 left = QPoint(Current.x()-1,Current.y() );
44 right = QPoint(Current.x()+1,Current.y() );
45 top = QPoint(Current.x(),Current.y()-1);
46 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,...
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.
The IntelliColorPicker manages the selected colors for one whole project.
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.