class KArrowButton

Draws a button with an arrow. More...

Definition#include <karrowbutton.h>
InheritsQPushButton (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Protected Methods


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:
parentThis button's parent
arrowThe direction the arrrow should be pointing in
nameAn 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:
aThe 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]