8#ifndef KIS_VISUAL_COLOR_MODEL_H
9#define KIS_VISUAL_COLOR_MODEL_H
12#include <QScopedPointer>
16#include "kritawidgets_export.h"
41 QVector4D channelValues()
const;
42 int colorChannelCount()
const;
43 ColorModel colorModel()
const;
44 QVector4D maxChannelValues()
const;
45 void setMaxChannelValues(
const QVector4D &maxValues);
58 void setRGBColorModel(ColorModel model);
60 bool isHSXModel()
const;
61 bool supportsExposure()
const;
62 KoColor convertChannelValuesToKoColor(
const QVector4D &values)
const;
63 QVector4D convertKoColorToChannelValues(
KoColor c)
const;
67 void slotSetColor(
const KoColor &c);
69 void slotSetChannelValues(
const QVector4D &values);
73 void slotLoadACSConfig();
77 void emitChannelValues();
103 const QScopedPointer<Private>
m_d;
QSharedPointer< KisVisualColorModel > KisVisualColorModelSP
The KisVisualColorModel class allows manipulating a KoColor using various color models.
void sigColorModelChanged()
sigColorModelChanged is emitted whenever the color model changes.
void sigNewColor(const KoColor &c)
const QScopedPointer< Private > m_d
void sigChannelValuesChanged(const QVector4D &values, quint32 channelFlags)
void sigColorSpaceChanged()
sigColorSpaceChanged notifies that the color space from which the channel values are derived changed,...