Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
QwtArrowButton Class Reference
Arrow Button.
More...
#include <qwt_arrbtn.h>
Inherits QPushButton.
Inheritance diagram for QwtArrowButton
[legend]List of all members.
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
|
|
QSize QwtArrowButton::sizeHint (
|
) const
|
|
|
A size hint.
-
See also:
-
The Qt manual on QWidget::sizeHint
|
The documentation for this class was generated from the following files:
- qwt_arrbtn.h
- qwt_arrbtn.cpp
Generated at Thu Dec 14 00:27:13 2000 for Qwt User's Guide by
1.2.3 written by Dimitri van Heesch,
© 1997-2000