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