25 #ifndef DIGIKAM_DCOLOR_CHOOSER_MODE_PRIVATE_H
26 #define DIGIKAM_DCOLOR_CHOOSER_MODE_PRIVATE_H
92 return componentValueSteps(chooserXMode(chooserMode));
97 return componentValueSteps(chooserYMode(chooserMode));
100 static inline qreal getComponentX(
const QColor& color,
DColorChooserMode chooserMode)
105 static inline qreal getComponentY(
const QColor& color,
DColorChooserMode chooserMode)
110 static inline void setComponentX(QColor& color,
DColorChooserMode chooserMode, qreal x)
115 static inline void setComponentY(QColor& color,
DColorChooserMode chooserMode, qreal y)
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43
DColorChooserMode
Definition: dcolorchoosermode.h:32
@ ChooserGreen
Definition: dcolorchoosermode.h:38
@ ChooserBlue
Definition: dcolorchoosermode.h:39
@ ChooserRed
Definition: dcolorchoosermode.h:37
@ ChooserHue
Definition: dcolorchoosermode.h:34
@ ChooserSaturation
Definition: dcolorchoosermode.h:35
@ ChooserValue
Definition: dcolorchoosermode.h:36
void setComponentValue(QColor &color, DColorChooserMode chooserMode, qreal value)
Definition: dcolorchoosermode.cpp:58
qreal getComponentValue(const QColor &color, DColorChooserMode chooserMode)
Definition: dcolorchoosermode.cpp:34