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.
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 *) |
|
Definition at line 28 of file qwt_arrbtn.cpp. References qwtLim(). |
|
Calculate the size for a arrow that fits into a rect of a given size
Definition at line 248 of file qwt_arrbtn.cpp. Referenced by drawButtonLabel(), and minimumSizeHint(). |
|
The direction of the arrows.
Definition at line 46 of file qwt_arrbtn.cpp. |
|
Draw an arrow int a bounding rect
Definition at line 160 of file qwt_arrbtn.cpp. Referenced by drawButtonLabel(). |
|
Draw the button label.
Definition at line 96 of file qwt_arrbtn.cpp. References arrowSize(), drawArrow(), and labelRect(). |
|
autoRepeat for the space keys
Definition at line 278 of file qwt_arrbtn.cpp. |
|
Definition at line 62 of file qwt_arrbtn.cpp. Referenced by drawButtonLabel(). |
|
Return a minimum size hint.
Definition at line 220 of file qwt_arrbtn.cpp. References arrowSize(). Referenced by sizeHint(). |
|
The number of arrows.
Definition at line 54 of file qwt_arrbtn.cpp. |
|
Definition at line 212 of file qwt_arrbtn.cpp. References minimumSizeHint(). |
|
Definition at line 198 of file qwt_arrbtn.cpp. |