.TH "KArrowButton" 3 "28 Jan 2004" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KArrowButton \- Draws a button which shows an arrow pointing into a certain direction. Draws a button with an arrow.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <karrowbutton.h>\fP
.PP
Inherits \fBQPushButton\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "void \fBsetArrowType\fP (Qt::ArrowType a)"
.br
.RI "\fIDefines in what direction the arrow is pointing to. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKArrowButton\fP (\fBQWidget\fP *parent=0, Qt::ArrowType arrow=Qt::UpArrow, const  char *name=0)"
.br
.RI "\fIConstructs an arrow button. \fP"
.ti -1c
.RI "virtual \fB~KArrowButton\fP ()"
.br
.RI "\fIDestructor. \fP"
.ti -1c
.RI "virtual \fBQSize\fP \fBsizeHint\fP () const "
.br
.RI "\fIReimplemented from \fBQPushButton\fP. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBdrawButton\fP (\fBQPainter\fP *)"
.br
.RI "\fIReimplemented from \fBQPushButton\fP. \fP"
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
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 \fBKStyle\fP when drawing the arrow. 
.PP
\fBAuthor:\fP
.RS 4
Frerich Raabe 
.RE
.PP

.PP
Definition at line 34 of file karrowbutton.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KArrowButton::KArrowButton (\fBQWidget\fP * parent = 0, Qt::ArrowType arrow = Qt::UpArrow, const char * name = 0)"
.PP
Constructs an arrow button. \fBParameters:\fP
.RS 4
\fIparent\fP This button's parent 
.br
\fIarrow\fP The direction the arrrow should be pointing in 
.br
\fIname\fP An internal name for this widget
.RE
.PP
Definition at line 30 of file karrowbutton.cpp.
.PP
References KStdAccel::name().
.SS "KArrowButton::~\fBKArrowButton\fP ()\fC [virtual]\fP"
.PP
Destructor. Definition at line 38 of file karrowbutton.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBQSize\fP KArrowButton::sizeHint () const\fC [virtual]\fP"
.PP
Reimplemented from \fBQPushButton\fP. Definition at line 43 of file karrowbutton.cpp.
.SS "void KArrowButton::setArrowType (Qt::ArrowType a)\fC [slot]\fP"
.PP
Defines in what direction the arrow is pointing to. Will repaint the button if necessary.
.PP
\fBParameters:\fP
.RS 4
\fIa\fP The direction this arrow should be pointing in
.RE
.PP
Definition at line 48 of file karrowbutton.cpp.
.SS "void KArrowButton::drawButton (\fBQPainter\fP *)\fC [protected, virtual]\fP"
.PP
Reimplemented from \fBQPushButton\fP. Definition at line 56 of file karrowbutton.cpp.
.PP
References QPainter::fillRect(), and QPushButton::isDown().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
