QwtArrowButton(3)

NAME
QwtArrowButton - Arrow Button.

SYNOPSIS

#include <qwt_arrbtn.h>

Inherits QPushButton.

  Public Types
enum Direction { Up, Down, Left, Right }

  Public Methods
QwtArrowButton (int num, Direction dir, QWidget *parent, const char *name=0)
Direction dir () const
int num () const
QSize sizeHint () const

  Protected Methods
void drawButtonLabel (QPainter *p)

DETAILED DESCRIPTION

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.

CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

  QwtArrowButton::QwtArrowButton (int num, Direction dir, QWidget * parent, const char * name = 0)

Constructor.

Parameters:

num Number of arrows

dir Direction. One of QwtArrowButton::Up, QwtArrowButton::Down, QwtArrowButton::Left, or QwtArrowButton::Right

parent

name
    Forwarded to QPushButton's ctor

MEMBER FUNCTION DOCUMENTATION

  Direction QwtArrowButton::dir () const

The direction of the arrows.

  void QwtArrowButton::drawButtonLabel (QPainter * p) [protected]

Draw the button label.

See also:
The Qt Manual on QPushButton

  int QwtArrowButton::num () const

The number of arrows.

  QSize QwtArrowButton::sizeHint () const

A size hint.

See also:
The Qt manual on QWidget::sizeHint

AUTHOR

Generated automatically by Doxygen for Qwt User's Guide from the source code.