Public Member Functions | Private Attributes | List of all members
QwtCompassRose Class Referenceabstract

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

#include <qwt_compass_rose.h>

Inheritance diagram for QwtCompassRose:
Inheritance graph
[legend]

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. More...
 
virtual void setPalette (const QPalette &)
 Assign a palette. More...
 
virtual ~QwtCompassRose ()
 Destructor. More...
 

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

QwtCompassRose::QwtCompassRose ( )

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.

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 Sat Jul 6 2019 03:44:18