.TH "KValueSelector" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KValueSelector \- Widget for color value selection.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kcolordialog.h>\fP
.PP
Inherits \fBKSelector\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKValueSelector\fP (\fBQWidget\fP *parent=0, const char *name=0)"
.br
.ti -1c
.RI "\fBKValueSelector\fP (Orientation o, \fBQWidget\fP *parent=0, const char *name=0)"
.br
.ti -1c
.RI "int \fBhue\fP () const "
.br
.ti -1c
.RI "void \fBsetHue\fP (int h)"
.br
.ti -1c
.RI "int \fBsaturation\fP () const "
.br
.ti -1c
.RI "void \fBsetSaturation\fP (int s)"
.br
.ti -1c
.RI "void \fBupdateContents\fP ()"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBdrawPalette\fP (\fBQPixmap\fP *pixmap)"
.br
.ti -1c
.RI "virtual void \fBresizeEvent\fP (\fBQResizeEvent\fP *)"
.br
.ti -1c
.RI "virtual void \fBdrawContents\fP (\fBQPainter\fP *painter)"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Widget for color value selection. 

\fBSee also:\fP
.RS 4
\fBKHSSelector\fP, \fBKColorDialog\fP 
.RE
.PP
\fBAuthor:\fP
.RS 4
Martin Jones (mjones@kde.org) 
.RE
.PP

.PP
Definition at line 102 of file kcolordialog.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KValueSelector::KValueSelector (\fBQWidget\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
Constructs a widget for color selection. 
.PP
Definition at line 245 of file kcolordialog.cpp.
.PP
References QPixmap::setOptimization(), and QRangeControl::setRange().
.SS "KValueSelector::KValueSelector (Orientation o, \fBQWidget\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
Constructs a widget for color selection with a given orientation. 
.PP
Definition at line 252 of file kcolordialog.cpp.
.PP
References QPixmap::setOptimization(), and QRangeControl::setRange().
.SH "Member Function Documentation"
.PP 
.SS "void KValueSelector::drawPalette (\fBQPixmap\fP * pixmap)\fC [protected, virtual]\fP"
.PP
Draws the contents of the widget on a pixmap, which is used for buffering. 
.PP
Definition at line 275 of file kcolordialog.cpp.
.PP
References KSelector::contentsRect(), QPixmap::convertFromImage(), KImageEffect::dither(), QRect::height(), KSelector::orientation(), QColor::rgb(), QImage::scanLine(), QColor::setHsv(), and QRect::width().
.SS "void KValueSelector::drawContents (\fBQPainter\fP * painter)\fC [protected, virtual]\fP"
.PP
Reimplemented from \fBKSelector\fP. 
.PP
The drawing is buffered in a pixmap here. As real drawing routine, \fBdrawPalette()\fP is used. 
.PP
Reimplemented from \fBKSelector\fP.
.PP
Definition at line 270 of file kcolordialog.cpp.
.PP
References KSelector::contentsRect(), QWidget::x(), and QWidget::y().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
