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

QwtCompassNeedle4 Class Reference

#include <qwt_dial_needle.h>

Inheritance diagram for QwtCompassNeedle4:

QwtDialNeedle List of all members.

Public Member Functions

 QwtCompassNeedle4 (const QColor &light=Qt::white, const QColor &dark=Qt::red, const QColor &mid=Qt::gray)
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 &, const QColor &)

Static Protected Member Functions

void drawPointer (QPainter *painter, const QColor &color, int colorOffset, const QPoint &center, int length, int width, double direction)

Constructor & Destructor Documentation

QwtCompassNeedle4::QwtCompassNeedle4 const QColor &  light = Qt::white,
const QColor &  dark = Qt::red,
const QColor &  mid = Qt::gray
 

Definition at line 120 of file qwt_dial_needle.cpp.

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


Member Function Documentation

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

Implements QwtDialNeedle.

Definition at line 138 of file qwt_dial_needle.cpp.

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

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

Definition at line 145 of file qwt_dial_needle.cpp.

References drawPointer(), and QwtPainter::drawRoundFrame().

Referenced by draw().

void QwtCompassNeedle4::drawPointer QPainter *  painter,
const QColor &  color,
int  colorOffset,
const QPoint &  center,
int  length,
int  width,
double  direction
[static, protected]
 

Definition at line 173 of file qwt_dial_needle.cpp.

References qwtDegree2Pos().

Referenced by drawNeedle().


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