21#include "stroketool.h"
23#include "bitmapimage.h"
24#include "bitmapbucket.h"
36 ToolType type()
const override {
return BUCKET; }
38 ToolProperties& toolProperties()
override {
return mSettings.toolProperties(); }
41 void loadSettings()
override;
48 void paintVector(
Layer* layer);
52 void setStrokeThickness(qreal width);
53 void setColorTolerance(
int tolerance);
54 void setColorToleranceEnabled(
bool enabled);
55 void setFillExpand(
int fillExpandValue);
56 void setFillExpandEnabled(
bool enabled);
57 void setFillReferenceMode(
int referenceMode);
58 void setFillMode(
int mode);
60 QPointF getCurrentPoint()
const;
61 QPointF getCurrentPixel()
const;
64 void fillModeChanged(
int mode);
65 void fillReferenceModeChanged(
int referenceMode);
66 void fillExpandEnabledChanged(
bool isON);
67 void fillExpandChanged(
int fillExpandValue);
68 void toleranceEnabledChanged(
bool isON);
69 void toleranceChanged(
int width);
70 void strokeThicknessChanged(qreal width);
77 bool mFilledOnMove =
false;
QObject * parent() const const
This is the main undo/redo state structure which is meant to populate whatever states that needs to b...