class KArrowButton

# class KArrowButton | Draws a button with an arrow. More...
Definition | `#include <karrowbutton.h>`
Inherits | QPushButton (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KArrowButton (QWidget *parent = 0, Qt::ArrowType arrow = Qt::UpArrow, const char *name = 0)
- virtual ~KArrowButton ()
- virtual QSize sizeHint () const

#### Public Slots

- void setArrowType (Qt::ArrowType a)

#### Protected Methods

- virtual void drawButton (QPainter *)
- virtual void virtual_hook ( int id, void* data )

## Detailed Description

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 honours the currently configured KStyle when drawing the arrow.

KArrowButton (QWidget *parent = 0, Qt::ArrowType arrow = Qt::UpArrow, const char *name = 0) | ### KArrowButton

Constructs an arrow button.

Parameters:

parent | This button's parent
arrow | The direction the arrrow should be pointing in
name | An internal name for this widget

~KArrowButton () | ### ~KArrowButton

[virtual]

Destructor.

QSize sizeHint () | ### sizeHint

[const virtual]

Reimplemented from QPushButton.

void setArrowType (Qt::ArrowType a) | ### setArrowType

[slot]

Defines in what direction the arrow is pointing to. Will repaint the button if necessary.

Parameters:

a | The direction this arrow should be pointing in

void drawButton (QPainter *) | ### drawButton

[protected virtual]

Reimplemented from QPushButton.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

- Author: Frerich Raabe
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:37 2003, using kdoc 2.0a54.