Public Member Functions | Private Attributes
QwtCompassRose Class Reference

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

#include <qwt_compass_rose.h>

Inheritance diagram for QwtCompassRose:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void draw (QPainter *painter, const QPointF &center, 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

Detailed Description

Abstract base class for a compass rose.

Definition at line 21 of file qwt_compass_rose.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 29 of file qwt_compass_rose.cpp.

Destructor.

Definition at line 34 of file qwt_compass_rose.cpp.


Member Function Documentation

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.

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

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.


Member Data Documentation

QPalette QwtCompassRose::d_palette [private]

Definition at line 46 of file qwt_compass_rose.h.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:57