KDEUI
kcolorvalueselector.cpp
Go to the documentation of this file.
31 Private(KColorValueSelector *q): q(q), _hue(0), _sat(0), _colorValue(0), _mode(ChooserClassic) {}
KColorValueSelector(QWidget *parent=0)
Constructs a widget for color selection.
Definition: kcolorvalueselector.cpp:41
~KColorValueSelector()
Definition: kcolorvalueselector.cpp:53
void fillRect(const QRectF &rectangle, const QBrush &brush)
Definition: kcolorvalueselector.h:28
void setRange(int min, int max)
virtual void drawContents(QPainter *painter)
Reimplemented from KSelector.
Definition: kcolorvalueselector.cpp:100
void setColorAt(qreal position, const QColor &color)
int y() const
void setComponentValue(QColor &color, KColorChooserMode chooserMode, qreal value)
Definition: kcolorchoosermode.cpp:44
int width() const
QSize size() const
Qt::Orientation orientation() const
int x() const
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
void setFinalStop(const QPointF &stop)
virtual void drawPalette(QPixmap *pixmap)
Draws the contents of the widget on a pixmap, which is used for buffering.
Definition: kcolorvalueselector.cpp:123
void setChooserMode(KColorChooserMode chooserMode)
Sets the chooser mode.
Definition: kcolorvalueselector.cpp:105
Definition: kcolorchoosermode.h:25
Definition: kcolorchoosermode.h:24
virtual void resizeEvent(QResizeEvent *)
Definition: kcolorvalueselector.cpp:95
void setHsv(int h, int s, int v, int a)
void setStart(const QPointF &start)
QRect rect() const
KColorChooserMode chooserMode() const
Returns the current chooser mode.
Definition: kcolorvalueselector.cpp:118
KSelector is the base class for other widgets which provides the ability to choose from a one-dimensi...
Definition: kselector.h:41
int height() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.