8#ifndef FILLCONFIGWIDGET_H
9#define FILLCONFIGWIDGET_H
11#include "kritaui_export.h"
14#include <QSharedPointer>
48 void setNoSelectionTrackingMode(
bool value);
62 void forceUpdateOnSelectionChanged();
67 void styleButtonPressed(
int buttonId);
69 void noColorSelected();
73 void colorChanged(std::pair<QColor, KoFlake::FillVariant> resource);
80 void slotUpdateFillTitle();
82 void slotCanvasResourceChanged(
int key,
const QVariant &
value);
84 void slotSavePredefinedGradientClicked();
86 void activeGradientChanged();
87 void gradientResourceChanged();
89 void slotGradientTypeChanged();
90 void slotGradientRepeatChanged();
92 void slotProposeCurrentColorToResourceManager();
93 void slotRecoverColorInResourceManager();
96 void slotMeshGradientChanged();
97 void slotMeshGradientShadingChanged(
int index);
98 void slotMeshHandleColorChanged(
const KoColor &c);
108 void updateGradientUi(
const QGradient *gradient);
109 void setNewGradientBackgroundToShape();
110 void updateGradientSaveButtonAvailability();
111 void loadCurrentFillFromResourceServer();
114 void createNewMeshGradientBackground();
115 void createNewDefaultMeshGradientBackground();
116 void setNewMeshGradientBackgroundToShape();
117 void updateMeshGradientUI();
119 void updateWidgetComponentVisibility();
122 void updateUiFromFillType(
KoShape *shape);
float value(const T *src, size_t ch)