Krita Source Code Documentation
Loading...
Searching...
No Matches
KisVisualColorSelectorShape.h File Reference
#include <QWidget>
#include <QScopedPointer>
#include <QPixmap>
#include <QRegion>
#include <QMouseEvent>
#include <KoColor.h>
#include "KoColorDisplayRendererInterface.h"
#include "KisVisualColorSelector.h"
#include "KisColorSelectorConfiguration.h"

Go to the source code of this file.

Classes

class  KisVisualColorSelectorShape
 The KisVisualColorSelectorShape class A 2d widget can represent at maximum 2 coordinates. So first decide how many coordinates you need. (onedimensional, or twodimensional) Then, select the channels you wish to be affected. This uses the model, so for cmyk the channel is c=0, m=1, y=2, k=3, but for hsv, hue=0, sat=1, and val=2 Then finally, connect the displayrenderer, you can also do this with 'setdisplayrenderer'. More...