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_arrow_button.h.
| Public Member Functions | |
| QwtArrowButton (int num, Qt::ArrowType, QWidget *parent=NULL) | |
| virtual | ~QwtArrowButton () | 
| Qt::ArrowType | arrowType () const | 
| int | num () const | 
| virtual QSize | sizeHint () const | 
| virtual QSize | minimumSizeHint () const | 
| Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *event) | 
| 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 58 of file qwt_arrow_button.cpp. | 
| 
 | 
| Destructor. 
 Definition at line 83 of file qwt_arrow_button.cpp. | 
| 
 | ||||||||||||
| Calculate the size for a arrow that fits into a rect of a given size 
 
 
 Definition at line 331 of file qwt_arrow_button.cpp. Referenced by drawButtonLabel(), and minimumSizeHint(). | 
| 
 | 
| The direction of the arrows. 
 Definition at line 92 of file qwt_arrow_button.cpp. | 
| 
 | ||||||||||||||||
| Draw an arrow int a bounding rect 
 
 Definition at line 240 of file qwt_arrow_button.cpp. Referenced by drawButtonLabel(). | 
| 
 | 
| Draw the button label. 
 
 
 Definition at line 157 of file qwt_arrow_button.cpp. References arrowSize(), drawArrow(), and labelRect(). Referenced by paintEvent(). | 
| 
 | 
| autoRepeat for the space keys 
 Definition at line 361 of file qwt_arrow_button.cpp. | 
| 
 | 
| 
 
 Definition at line 108 of file qwt_arrow_button.cpp. Referenced by drawButtonLabel(). | 
| 
 | 
| Return a minimum size hint. 
 Definition at line 294 of file qwt_arrow_button.cpp. References arrowSize(). Referenced by sizeHint(). | 
| 
 | 
| The number of arrows. 
 Definition at line 100 of file qwt_arrow_button.cpp. | 
| 
 | 
| Paint event handler 
 Definition at line 143 of file qwt_arrow_button.cpp. References drawButtonLabel(). | 
| 
 | 
| 
 
 Definition at line 286 of file qwt_arrow_button.cpp. References minimumSizeHint(). | 
 1.4.6
 1.4.6