10 #ifndef QWT_ARROW_BUTTON_H 11 #define QWT_ARROW_BUTTON_H 14 #include <qpushbutton.h> 26 explicit QwtArrowButton (
int num, Qt::ArrowType, QWidget *parent = NULL );
29 Qt::ArrowType arrowType()
const;
32 virtual QSize sizeHint()
const;
33 virtual QSize minimumSizeHint()
const;
36 virtual void paintEvent( QPaintEvent *event );
38 virtual void drawButtonLabel( QPainter *p );
39 virtual void drawArrow( QPainter *,
40 const QRect &, Qt::ArrowType )
const;
41 virtual QRect labelRect()
const;
42 virtual QSize arrowSize( Qt::ArrowType,
43 const QSize &boundingSize )
const;
45 virtual void keyPressEvent( QKeyEvent * );