#include <qwt_compass_rose.h>
Inheritance diagram for QwtSimpleCompassRose:

Public Member Functions | |
| QwtSimpleCompassRose (int numThorns=8, int numThornLevels=-1) | |
| void | setWidth (double w) |
| double | width () const |
| void | setNumThorns (int count) |
| int | numThorns () const |
| void | setNumThornLevels (int count) |
| int | numThornLevels () const |
| void | setShrinkFactor (double factor) |
| double | shrinkFactor () const |
| virtual void | draw (QPainter *, const QPoint ¢er, int radius, double north, QPalette::ColorGroup=QPalette::Active) const |
Static Public Member Functions | |
| void | drawRose (QPainter *, const QPoint ¢er, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor, const QColor &light, const QColor &dark) |
Private Attributes | |
| double | d_width |
| int | d_numThorns |
| int | d_numThornLevels |
| double | d_shrinkFactor |
|
||||||||||||
|
Definition at line 55 of file qwt_compass_rose.cpp. References QwtCompassRose::palette(), and QwtCompassRose::setPalette(). |
|
||||||||||||||||||||||||
|
Implements QwtCompassRose. Definition at line 76 of file qwt_compass_rose.cpp. References d_numThornLevels, d_numThorns, d_shrinkFactor, d_width, drawRose(), and QwtCompassRose::palette(). |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 95 of file qwt_compass_rose.cpp. References cutPoint(), M_PI, M_PI_2, and qwtPolar2Pos(). Referenced by draw(). |
|
|
Definition at line 201 of file qwt_compass_rose.cpp. References d_numThornLevels. |
|
|
Definition at line 191 of file qwt_compass_rose.cpp. References d_numThorns. |
|
|
Definition at line 196 of file qwt_compass_rose.cpp. References d_numThornLevels. |
|
|
Definition at line 180 of file qwt_compass_rose.cpp. References d_numThorns. |
|
|
Definition at line 48 of file qwt_compass_rose.h. |
|
|
Set the width of the rose heads. Lower value make thinner heads. The range is limited from 0.03 to 0.4. Definition at line 170 of file qwt_compass_rose.cpp. References d_width. |
|
|
Definition at line 49 of file qwt_compass_rose.h. |
|
|
Definition at line 40 of file qwt_compass_rose.h. |
|
|
Definition at line 62 of file qwt_compass_rose.h. Referenced by draw(), numThornLevels(), and setNumThornLevels(). |
|
|
Definition at line 61 of file qwt_compass_rose.h. Referenced by draw(), numThorns(), and setNumThorns(). |
|
|
Definition at line 63 of file qwt_compass_rose.h. Referenced by draw(). |
|
|
Definition at line 60 of file qwt_compass_rose.h. Referenced by draw(), and setWidth(). |
1.3.2