\section{KArrow\-Button Class Reference}
\label{classKArrowButton}\index{KArrowButton@{KArrowButton}}
Draws a button which shows an arrow pointing into a certain direction. Draws a button with an arrow.  


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

Inheritance diagram for KArrow\-Button:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=61pt]{classKArrowButton__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KArrow\-Button:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=61pt]{classKArrowButton__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf set\-Arrow\-Type} (Qt::Arrow\-Type a)
\begin{CompactList}\small\item\em Defines in what direction the arrow is pointing to. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KArrow\-Button} ({\bf QWidget} $\ast$parent=0, Qt::Arrow\-Type arrow=Qt::Up\-Arrow, const  char $\ast$name=0)
\begin{CompactList}\small\item\em Constructs an arrow button. \item\end{CompactList}\item 
virtual {\bf $\sim$KArrow\-Button} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
virtual {\bf QSize} {\bf size\-Hint} () const 
\begin{CompactList}\small\item\em Reimplemented from {\bf QPush\-Button}. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf draw\-Button} ({\bf QPainter} $\ast$)
\begin{CompactList}\small\item\em Reimplemented from {\bf QPush\-Button}. \item\end{CompactList}\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKArrowButton_b1}

\end{CompactItemize}


\subsection{Detailed Description}
Draws a button which shows an arrow pointing into a certain direction. Draws a button with an arrow. 

The arrow's alignment on the button depends on the direction it's pointing to, e.g. a left arrow is aligned at the left border, a upwards arrow at the top border. This class honours the currently configured {\bf KStyle} when drawing the arrow. 

\begin{Desc}
\item[Author:]Frerich Raabe \end{Desc}




Definition at line 34 of file karrowbutton.h.

\subsection{Constructor \& Destructor Documentation}
\index{KArrowButton@{KArrow\-Button}!KArrowButton@{KArrowButton}}
\index{KArrowButton@{KArrowButton}!KArrowButton@{KArrow\-Button}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KArrow\-Button::KArrow\-Button ({\bf QWidget} $\ast$ {\em parent} = 0, Qt::Arrow\-Type {\em arrow} = Qt::Up\-Arrow, const char $\ast$ {\em name} = 0)}\label{classKArrowButton_a0}


Constructs an arrow button. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]This button's parent \item[{\em arrow}]The direction the arrrow should be pointing in \item[{\em name}]An internal name for this widget\end{description}
\end{Desc}


Definition at line 30 of file karrowbutton.cpp.

References KStd\-Accel::name().\index{KArrowButton@{KArrow\-Button}!~KArrowButton@{$\sim$KArrowButton}}
\index{~KArrowButton@{$\sim$KArrowButton}!KArrowButton@{KArrow\-Button}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KArrow\-Button::$\sim${\bf KArrow\-Button} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKArrowButton_a1}


Destructor. 



Definition at line 38 of file karrowbutton.cpp.

\subsection{Member Function Documentation}
\index{KArrowButton@{KArrow\-Button}!sizeHint@{sizeHint}}
\index{sizeHint@{sizeHint}!KArrowButton@{KArrow\-Button}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QSize} KArrow\-Button::size\-Hint () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKArrowButton_a2}


Reimplemented from {\bf QPush\-Button}. 



Definition at line 43 of file karrowbutton.cpp.\index{KArrowButton@{KArrow\-Button}!setArrowType@{setArrowType}}
\index{setArrowType@{setArrowType}!KArrowButton@{KArrow\-Button}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KArrow\-Button::set\-Arrow\-Type (Qt::Arrow\-Type {\em a})\hspace{0.3cm}{\tt  [slot]}}\label{classKArrowButton_i0}


Defines in what direction the arrow is pointing to. 

Will repaint the button if necessary.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em a}]The direction this arrow should be pointing in\end{description}
\end{Desc}


Definition at line 48 of file karrowbutton.cpp.\index{KArrowButton@{KArrow\-Button}!drawButton@{drawButton}}
\index{drawButton@{drawButton}!KArrowButton@{KArrow\-Button}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KArrow\-Button::draw\-Button ({\bf QPainter} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKArrowButton_b0}


Reimplemented from {\bf QPush\-Button}. 



Definition at line 56 of file karrowbutton.cpp.

References QPainter::fill\-Rect(), and QPush\-Button::is\-Down().

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