#include <qwt_arrbtn.h>
Public Member Functions | |
| QwtArrowButton (int num, Qt::ArrowType, QWidget *parent, const char *name=0) | |
| Qt::ArrowType | arrowType () const |
| int | num () const |
| virtual QSize | sizeHint () const |
| virtual QSize | minimumSizeHint () const |
| virtual QSizePolicy | sizePolicy () const |
Protected Member Functions | |
| virtual void | drawButtonLabel (QPainter *p) |
| virtual void | drawArrow (QPainter *, const QRect &, Qt::ArrowType) const |
| virtual QRect | labelRect () const |
| virtual QSize | arrowSize (Qt::ArrowType, const QSize &boundingSize) const |
| virtual void | keyPressEvent (QKeyEvent *) |
Private Attributes | |
| const int | d_num |
| const Qt::ArrowType | d_arrowType |
A push button with one or more filled triangles on its front. An Arrow button can have 1 to 3 arrows in a row, pointing up, down, left or right.
Definition at line 23 of file qwt_arrbtn.h.
|
||||||||||||||||||||
|
Definition at line 27 of file qwt_arrbtn.cpp. |
|
||||||||||||
|
Definition at line 228 of file qwt_arrbtn.cpp. Referenced by drawButtonLabel(), and minimumSizeHint(). |
|
|
The direction of the arrows.
Definition at line 45 of file qwt_arrbtn.cpp. References d_arrowType. |
|
||||||||||||||||
|
Definition at line 149 of file qwt_arrbtn.cpp. Referenced by drawButtonLabel(). |
|
|
Draw the button label.
Definition at line 92 of file qwt_arrbtn.cpp. References arrowSize(), d_arrowType, d_num, drawArrow(), labelRect(), MaxNum, and Spacing. |
|
|
autoRepeat for the space keys
Definition at line 258 of file qwt_arrbtn.cpp. |
|
|
Definition at line 58 of file qwt_arrbtn.cpp. References Margin. Referenced by drawButtonLabel(). |
|
|
Return a minimum size hint.
Definition at line 207 of file qwt_arrbtn.cpp. References arrowSize(), d_arrowType, Margin, MaxNum, and Spacing. Referenced by sizeHint(). |
|
|
The number of arrows.
Definition at line 53 of file qwt_arrbtn.cpp. References d_num. |
|
|
Definition at line 199 of file qwt_arrbtn.cpp. References minimumSizeHint(). |
|
|
Definition at line 185 of file qwt_arrbtn.cpp. References d_arrowType. |
|
|
Definition at line 49 of file qwt_arrbtn.h. Referenced by arrowType(), drawButtonLabel(), minimumSizeHint(), and sizePolicy(). |
|
|
Definition at line 48 of file qwt_arrbtn.h. Referenced by drawButtonLabel(), and num(). |
1.3.2