7#ifndef KIS_VISUAL_COLOR_SELECTOR_H
8#define KIS_VISUAL_COLOR_SELECTOR_H
11#include <QScopedPointer>
17#include "kritawidgets_export.h"
49 QSize minimumSizeHint()
const override;
59 void setConfig(
bool forceCircular,
bool forceSelfUpdate)
override;
71 void setAcceptTabletEvents(
bool on);
73 void setMinimumSliderWidth(
int width);
75 RenderMode renderMode()
const;
76 void setRenderMode(RenderMode mode);
84 bool autoAdjustExposure()
const;
85 void setAutoAdjustExposure(
bool enabled);
86 bool proofColors()
const;
87 void setProofColors(
bool enabled);
92 void setSliderPosition(Qt::Edge edge);
98 void slotConfigurationChanged();
101 void slotGamutMaskUnset();
102 void slotGamutMaskPreviewUpdate();
105 void slotChannelValuesChanged(
const QVector4D &values, quint32 channelFlags);
106 void slotColorModelChanged();
107 void slotColorSpaceChanged();
108 void slotCursorMoved(QPointF pos);
109 void slotDisplayConfigurationChanged();
110 void slotReloadConfiguration();
127 void resizeEvent(QResizeEvent *)
override;
130 bool useHorizontalSlider();
131 void rebuildSelector();
132 void loadACSConfig();
134 QVector4D calculateMaxChannelValues();
138 const QScopedPointer<Private>
m_d;
QSharedPointer< KisVisualColorModel > KisVisualColorModelSP
virtual void slotSetColor(const KoColor &c)=0
virtual void slotSetColorSpace(const KoColorSpace *cs)
slotSetColorSpace Set the color space the selector should cover
virtual void setDisplayRenderer(const KoColorDisplayRendererInterface *displayRenderer)
virtual void setConfig(bool forceCircular, bool forceSelfUpdate)
virtual KoColor getCurrentColor() const =0
The KisVisualColorSelector class.
const QScopedPointer< Private > m_d
void sigInteraction(bool active)
sigInteraction is emitted whenever mouse interaction status changes
void sigGamutMaskSupportChanged(bool supported)
sigGamutMaskSupportChanged Signals whether gamut masks are supported by the current selector shape.
The resource type for gamut masks used by the artistic color selector.