Qwt User's Guide
svn
|
#include <qwt_compass_rose.h>
Inherited by QwtSimpleCompassRose.
Public Member Functions | |
virtual void | draw (QPainter *painter, const QPointF ¢er, double radius, double north, QPalette::ColorGroup colorGroup=QPalette::Active) const =0 |
const QPalette & | palette () const |
virtual void | setPalette (const QPalette &p) |
virtual | ~QwtCompassRose () |
Abstract base class for a compass rose.
virtual QwtCompassRose::~QwtCompassRose | ( | ) | [inline, virtual] |
Destructor.
virtual void QwtCompassRose::draw | ( | QPainter * | painter, |
const QPointF & | center, | ||
double | radius, | ||
double | north, | ||
QPalette::ColorGroup | colorGroup = QPalette::Active |
||
) | const [pure virtual] |
Draw the rose
painter | Painter |
center | Center point |
radius | Radius of the rose |
north | Position |
colorGroup | Color group |
Implemented in QwtSimpleCompassRose.
const QPalette& QwtCompassRose::palette | ( | ) | const [inline] |
virtual void QwtCompassRose::setPalette | ( | const QPalette & | p | ) | [inline, virtual] |
Assign a palette.