KArrowButton Class Reference
Draws a button which shows an arrow pointing into a certain direction. Draws a button with an arrow. More...
#include <karrowbutton.h>
Inheritance diagram for KArrowButton:


Public Slots | |
void | setArrowType (Qt::ArrowType a) |
Public Member Functions | |
KArrowButton (QWidget *parent=0, Qt::ArrowType arrow=Qt::UpArrow, const char *name=0) | |
virtual | ~KArrowButton () |
virtual QSize | sizeHint () const |
Protected Member Functions | |
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. 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 honors the currently configured KStyle when drawing the arrow.
- Author:
- Frerich Raabe
Definition at line 34 of file karrowbutton.h.
Constructor & Destructor Documentation
|
Constructs an arrow button.
|
|
Destructor. Definition at line 38 of file karrowbutton.cpp. |
Member Function Documentation
|
Reimplemented from QPushButton. Definition at line 43 of file karrowbutton.cpp. |
|
Defines in what direction the arrow is pointing to. Will repaint the button if necessary.
|
|
Reimplemented from QPushButton. Definition at line 56 of file karrowbutton.cpp. |
The documentation for this class was generated from the following files: