Go to the documentation of this file.
33 PaintingArea(
int maxWidth=600,
int maxHeight=600, QWidget *parent =
nullptr);
37 bool open(
const QString &fileName);
38 bool save(
const QString &fileName,
const char *fileFormat);
45 void floodFill(
int r,
int g,
int b,
int a);
82 void setUp(
int maxWidth,
int maxHeight);
83 void activateUpperLayer();
84 void activateLowerLayer();
93 std::vector<LayerObject> layerBundle;
96 void assembleLayers(
bool forSaving=
false);
98 void resizeImage(QImage *image_res,
const QSize &newSize);
101 void createTempLayerAfter(
int idx);
ImageType
The Types, which an Image can be.
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
int getWidthActiveLayer()
void mouseReleaseEvent(QMouseEvent *event) override
bool open(const QString &fileName)
void setLayerToActive(int index)
int getHeightActiveLayer()
void floodFill(int r, int g, int b, int a)
bool save(const QString &fileName, const char *fileFormat)
void wheelEvent(QWheelEvent *event) override
void deleteLayer(int index)
void mousePressEvent(QMouseEvent *event) override
void colorPickerSetSecondColor()
void colorPickerSetFirstColor()
void colorPickerSwitchColor()
void mouseMoveEvent(QMouseEvent *event) override
void slotDeleteActiveLayer()
int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)
void moveActiveLayer(int idx)
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
void slotActivateLayer(int a)
The IntelliColorPicker manages the selected colors for one whole project.
void paintEvent(QPaintEvent *event) override
void setAlphaOfLayer(int index, int alpha)
void resizeEvent(QResizeEvent *event) override
void movePositionActive(int x, int y)
An abstract class which manages the basic IntelliImage operations.