\section{KArrow\-Button Class Reference}
\label{classKArrowButton}\index{KArrowButton@{KArrowButton}}
Draws a button with an arrow.  


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

Inheritance diagram for KArrow\-Button:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=57pt]{classKArrowButton__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KArrow\-Button:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=57pt]{classKArrowButton__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf set\-Arrow\-Type} (Qt::Arrow\-Type a)
\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)
\item 
virtual {\bf $\sim$KArrow\-Button} ()
\item 
virtual {\bf QSize} {\bf size\-Hint} () const 
\item 
Qt::Arrow\-Type {\bf arrow\-Type} () const 
\item 
int {\bf arrow\-Tp} () const \label{classKArrowButton_a4}

\item 
void {\bf set\-Arrow\-Tp} (int tp)\label{classKArrowButton_a5}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf draw\-Button} ({\bf QPainter} $\ast$)
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKArrowButton_b1}

\end{CompactItemize}
\subsection*{Properties}
\begin{CompactItemize}
\item 
int {\bf arrow\-Type}\label{classKArrowButton_00}

\end{CompactItemize}


\subsection{Detailed Description}
Draws a button with an arrow. 

Draws a button which shows an arrow pointing into a certain direction. 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 honors the currently configured {\bf KStyle} when drawing the arrow.

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




Definition at line 38 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} = {\tt 0}, Qt::Arrow\-Type {\em arrow} = {\tt Qt::UpArrow}, const char $\ast$ {\em name} = {\tt 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.\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}!arrowType@{arrowType}}
\index{arrowType@{arrowType}!KArrowButton@{KArrow\-Button}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Qt::Arrow\-Type KArrow\-Button::arrow\-Type () const}\label{classKArrowButton_a3}


Returns the arrow type \begin{Desc}
\item[Since:]3.4. \end{Desc}


\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 60 of file karrowbutton.cpp.

References 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}
