QwtArrowButton(3) | Qwt User's Guide | QwtArrowButton(3) |
QwtArrowButton - Arrow Button.
#include <qwt_arrow_button.h>
Inherits QPushButton.
QwtArrowButton (int num, Qt::ArrowType, QWidget
*parent=NULL)
virtual ~QwtArrowButton ()
Destructor. Qt::ArrowType arrowType () const
The direction of the arrows. int num () const
The number of arrows. virtual QSize sizeHint () const
virtual QSize minimumSizeHint () const
Return a minimum size hint.
virtual void paintEvent (QPaintEvent *event)
virtual void drawButtonLabel (QPainter *)
Draw the button label. 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 *)
autoRepeat for the space keys
Arrow Button.
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.
Parameters:
Calculate the size for a arrow that fits into a rectangle of a given size
Parameters:
Returns:
Draw an arrow int a bounding rectangle
Parameters:
Draw the button label.
Parameters:
See also:
Returns:
Paint event handler
Parameters:
Returns:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |