Abstract base class for a compass rose. More...
#include <qwt_compass_rose.h>
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 |
QwtCompassRose () | |
Constructor. | |
virtual void | setPalette (const QPalette &) |
Assign a palette. | |
virtual | ~QwtCompassRose () |
Destructor. | |
Private Attributes | |
QPalette | d_palette |
Abstract base class for a compass rose.
Definition at line 21 of file qwt_compass_rose.h.
Constructor.
Definition at line 29 of file qwt_compass_rose.cpp.
QwtCompassRose::~QwtCompassRose | ( | ) | [virtual] |
Destructor.
Definition at line 34 of file qwt_compass_rose.cpp.
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 |
Definition at line 45 of file qwt_compass_rose.cpp.
void QwtCompassRose::setPalette | ( | const QPalette & | p | ) | [virtual] |
Assign a palette.
Definition at line 39 of file qwt_compass_rose.cpp.
QPalette QwtCompassRose::d_palette [private] |
Definition at line 46 of file qwt_compass_rose.h.