\section{KColor\-Patch Class Reference}
\label{classKColorPatch}\index{KColorPatch@{KColorPatch}}
The KColor\-Patch widget is a (usually small) widget showing a selected color e. A color shower.  


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

Inheritance diagram for KColor\-Patch:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=55pt]{classKColorPatch__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KColor\-Patch:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=80pt]{classKColorPatch__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf color\-Changed} (const  {\bf QColor} \&)\label{classKColorPatch_l0}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KColor\-Patch} ({\bf QWidget} $\ast$parent)\label{classKColorPatch_a0}

\item 
void {\bf set\-Color} (const  {\bf QColor} \&col)\label{classKColorPatch_a2}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf draw\-Contents} ({\bf QPainter} $\ast$painter)\label{classKColorPatch_b0}

\item 
virtual void {\bf mouse\-Move\-Event} ({\bf QMouse\-Event} $\ast$)\label{classKColorPatch_b1}

\item 
virtual void {\bf drag\-Enter\-Event} ({\bf QDrag\-Enter\-Event} $\ast$)\label{classKColorPatch_b2}

\item 
virtual void {\bf drop\-Event} ({\bf QDrop\-Event} $\ast$)\label{classKColorPatch_b3}

\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKColorPatch_b4}

\end{CompactItemize}


\subsection{Detailed Description}
The KColor\-Patch widget is a (usually small) widget showing a selected color e. A color shower. 

g. in the {\bf KColor\-Dialog}{\rm (p.\,\pageref{classKColorDialog})}. It automatically handles drag and drop from and on the widget.



Definition at line 326 of file kcolordialog.h.

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