\section{KValue\-Selector Class Reference}
\label{classKValueSelector}\index{KValueSelector@{KValueSelector}}
Widget for color value selection.  


{\tt \#include $<$kcolordialog.h$>$}

Inheritance diagram for KValue\-Selector:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=98pt]{classKValueSelector__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KValue\-Selector:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=114pt]{classKValueSelector__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KValue\-Selector} ({\bf QWidget} $\ast$parent=0, const  char $\ast$name=0)
\begin{CompactList}\small\item\em Constructs a widget for color selection. \item\end{CompactList}\item 
{\bf KValue\-Selector} (Orientation o, {\bf QWidget} $\ast$parent=0, const  char $\ast$name=0)
\begin{CompactList}\small\item\em Constructs a widget for color selection with a given orientation. \item\end{CompactList}\item 
int {\bf hue} () const \label{classKValueSelector_a2}

\item 
void {\bf set\-Hue} (int h)\label{classKValueSelector_a3}

\item 
int {\bf saturation} () const \label{classKValueSelector_a4}

\item 
void {\bf set\-Saturation} (int s)\label{classKValueSelector_a5}

\item 
void {\bf update\-Contents} ()\label{classKValueSelector_a6}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf draw\-Palette} ({\bf QPixmap} $\ast$pixmap)
\begin{CompactList}\small\item\em Draws the contents of the widget on a pixmap, which is used for buffering. \item\end{CompactList}\item 
virtual void {\bf resize\-Event} ({\bf QResize\-Event} $\ast$)\label{classKValueSelector_b1}

\item 
virtual void {\bf draw\-Contents} ({\bf QPainter} $\ast$painter)
\begin{CompactList}\small\item\em Reimplemented from {\bf KSelector}{\rm (p.\,\pageref{classKSelector})}. \item\end{CompactList}\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKValueSelector_b3}

\end{CompactItemize}


\subsection{Detailed Description}
Widget for color value selection. 

\begin{Desc}
\item[See also:]{\bf KHSSelector}{\rm (p.\,\pageref{classKHSSelector})}, {\bf KColor\-Dialog}{\rm (p.\,\pageref{classKColorDialog})} \end{Desc}
\begin{Desc}
\item[Author:]Martin Jones ({\tt mjones@kde.org}) \end{Desc}
\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]{\bf kcolordialog.h}{\rm (p.\,\pageref{kcolordialog_8h})},v 1.50 2002/08/01 14:19:52 coolo Exp \end{Desc}
\end{Desc}




Definition at line 103 of file kcolordialog.h.

\subsection{Constructor \& Destructor Documentation}
\index{KValueSelector@{KValue\-Selector}!KValueSelector@{KValueSelector}}
\index{KValueSelector@{KValueSelector}!KValueSelector@{KValue\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KValue\-Selector::KValue\-Selector ({\bf QWidget} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0)}\label{classKValueSelector_a0}


Constructs a widget for color selection. 

\index{KValueSelector@{KValue\-Selector}!KValueSelector@{KValueSelector}}
\index{KValueSelector@{KValueSelector}!KValueSelector@{KValue\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KValue\-Selector::KValue\-Selector (Orientation {\em o}, {\bf QWidget} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0)}\label{classKValueSelector_a1}


Constructs a widget for color selection with a given orientation. 



\subsection{Member Function Documentation}
\index{KValueSelector@{KValue\-Selector}!drawPalette@{drawPalette}}
\index{drawPalette@{drawPalette}!KValueSelector@{KValue\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void KValue\-Selector::draw\-Palette ({\bf QPixmap} $\ast$ {\em pixmap})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKValueSelector_b0}


Draws the contents of the widget on a pixmap, which is used for buffering. 

\index{KValueSelector@{KValue\-Selector}!drawContents@{drawContents}}
\index{drawContents@{drawContents}!KValueSelector@{KValue\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void KValue\-Selector::draw\-Contents ({\bf QPainter} $\ast$ {\em painter})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKValueSelector_b2}


Reimplemented from {\bf KSelector}{\rm (p.\,\pageref{classKSelector})}. 

The drawing is buffered in a pixmap here. As real drawing routine, {\bf draw\-Palette()}{\rm (p.\,\pageref{classKValueSelector_b0})} is used. 

Reimplemented from {\bf KSelector} {\rm (p.\,\pageref{classKSelector_b0})}.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
kcolordialog.h\end{CompactItemize}
