QwtCompassRose man page

QwtCompassRose —

Abstract base class for a compass rose.  


#include <qwt_compass_rose.h>

Inherited by QwtSimpleCompassRose.

Public Member Functions

virtual void draw (QPainter *painter, const QPoint &center, int radius, double north, QPalette::ColorGroup colorGroup=QPalette::Active) const =0
const QPalette & palette () const
virtual void setPalette (const QPalette &p)

Detailed Description

Abstract base class for a compass rose.

Member Function Documentation

virtual void QwtCompassRose::draw (QPainter *painter, const QPoint &center, intradius, doublenorth, QPalette::ColorGroupcolorGroup = 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] Returns

Current palette

virtual void QwtCompassRose::setPalette (const QPalette &p) [inline, virtual]

Assign a palette.


Generated automatically by Doxygen for Qwt User's Guide from the source code.


Mon Aug 1 2011 Version 5.2.2 Qwt User's Guide