Qwt User's Guide  6.1.6
QwtCompassRose Class Referenceabstract

Abstract base class for a compass rose. More...

#include <qwt_compass_rose.h>

Inheritance diagram for QwtCompassRose:

Public Member Functions

virtual ~QwtCompassRose ()
 Destructor.
 
virtual void setPalette (const QPalette &p)
 Assign a palette.
 
const QPalette & palette () const
 
virtual void draw (QPainter *painter, const QPointF &center, double radius, double north, QPalette::ColorGroup colorGroup=QPalette::Active) const =0
 

Detailed Description

Abstract base class for a compass rose.

Member Function Documentation

◆ draw()

virtual void QwtCompassRose::draw ( QPainter *  painter,
const QPointF &  center,
double  radius,
double  north,
QPalette::ColorGroup  colorGroup = QPalette::Active 
) const
pure virtual

Draw the rose

Parameters
painterPainter
centerCenter point
radiusRadius of the rose
northPosition
colorGroupColor group

Implemented in QwtSimpleCompassRose.

◆ palette()

const QPalette& QwtCompassRose::palette ( ) const
inline
Returns
Current palette