Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

QwtCompassNeedle2 Class Reference

#include <qwt_dial_needle.h>

Inheritance diagram for QwtCompassNeedle2:

QwtDialNeedle List of all members.

Public Member Functions

 QwtCompassNeedle2 (const QColor &light=Qt::gray, const QColor &mid=Qt::black)
virtual void draw (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const

Static Public Member Functions

void drawNeedle (QPainter *, const QPoint &, int length, double direction, const QColor &, const QColor &)

Constructor & Destructor Documentation

QwtCompassNeedle2::QwtCompassNeedle2 const QColor &  light = Qt::gray,
const QColor &  mid = Qt::black
 

Definition at line 311 of file qwt_dial_needle.cpp.

References QwtDialNeedle::palette(), and QwtDialNeedle::setPalette().


Member Function Documentation

void QwtCompassNeedle2::draw QPainter *  ,
const QPoint &  ,
int  length,
double  direction,
QPalette::ColorGroup  = QPalette::Active
const [virtual]
 

Implements QwtDialNeedle.

Definition at line 325 of file qwt_dial_needle.cpp.

References QwtDialNeedle::colorGroup(), and drawNeedle().

void QwtCompassNeedle2::drawNeedle QPainter *  ,
const QPoint &  ,
int  length,
double  direction,
const QColor &  ,
const QColor & 
[static]
 

Definition at line 332 of file qwt_dial_needle.cpp.

References qwtDegree2Pos().

Referenced by draw().


The documentation for this class was generated from the following files:
Generated on Fri Nov 7 14:11:47 2003 for Qwt Developer's Guide by doxygen 1.3.2