\section{KHSSelector Class Reference}
\label{classKHSSelector}\index{KHSSelector@{KHSSelector}}
Widget for Hue/Saturation colour selection.  


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

Inheritance diagram for KHSSelector:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=54pt]{classKHSSelector__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KHSSelector:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=96pt]{classKHSSelector__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KHSSelector} ({\bf QWidget} $\ast$parent=0, const char $\ast$name=0)
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf draw\-Palette} ({\bf QPixmap} $\ast$pixmap)
\item 
virtual void {\bf resize\-Event} ({\bf QResize\-Event} $\ast$)\label{classKHSSelector_b1}

\item 
virtual void {\bf draw\-Contents} ({\bf QPainter} $\ast$painter)
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKHSSelector_b3}

\end{CompactItemize}


\subsection{Detailed Description}
Widget for Hue/Saturation colour selection. 

The actual values can be fetched using the inherited x\-Value and y\-Value methods.

 \begin{Desc}
\item[See also:]{\bf KXYSelector}{\rm (p.\,\pageref{classKXYSelector})}, {\bf KValue\-Selector}{\rm (p.\,\pageref{classKValueSelector})}, {\bf KColor\-Dialog}{\rm (p.\,\pageref{classKColorDialog})} \end{Desc}
\begin{Desc}
\item[Author:]Martin Jones ({\tt mjones@kde.org}) \end{Desc}




Definition at line 58 of file kcolordialog.h.

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


Constructs a hue/saturation selection widget. 



Definition at line 194 of file kcolordialog.cpp.

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


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



Definition at line 215 of file kcolordialog.cpp.

References KXYSelector::contents\-Rect(), QPixmap::convert\-From\-Image(), KImage\-Effect::dither(), QRect::height(), QColor::rgb(), QImage::scan\-Line(), QColor::set\-Hsv(), and QRect::width().\index{KHSSelector@{KHSSelector}!drawContents@{drawContents}}
\index{drawContents@{drawContents}!KHSSelector@{KHSSelector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KHSSelector::draw\-Contents ({\bf QPainter} $\ast$ {\em painter})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKHSSelector_b2}


Reimplemented from {\bf KXYSelector}{\rm (p.\,\pageref{classKXYSelector})}. 

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

Reimplemented from {\bf KXYSelector} {\rm (p.\,\pageref{classKXYSelector_b0})}.

Definition at line 210 of file kcolordialog.cpp.

References KXYSelector::contents\-Rect(), QWidget::x(), and QWidget::y().

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