9#ifndef KIS_GRADIENT_COLOR_EDITOR_H
10#define KIS_GRADIENT_COLOR_EDITOR_H
13#include <QScopedPointer>
17#include <kritaui_export.h>
28 qreal position()
const;
30 bool transparent()
const;
32 qreal opacity()
const;
34 QSize sizeHint()
const override;
35 QSize minimumSizeHint()
const override;
38 void setPosition(qreal position);
40 void setTransparent(
bool checked);
42 void setOpacity(qreal opacity);
44 void setUseTransParentCheckBox(
bool use);
45 void setUsePositionSlider(
bool use);
46 void setPositionSliderEnabled(
bool enabled);
57 QScopedPointer<Private>
m_d;
void transparentToggled(bool checked)
QScopedPointer< Private > m_d
void colorChanged(KoColor color)
void colorTypeChanged(KisGradientWidgetsUtils::ColorType type)
void positionChanged(qreal position)
void opacityChanged(qreal opacity)
void setColor(PaintDeviceSP device, const QPoint &pt, const KoColor &color)