LibEngsas
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
EChartMarkers Class Reference

Class with static functions to draw different markers.Use config() to get an object to configure the appearance. The markers are drawn in the current color of the painter. Therefore change it before calling one of the static functions. More...

#include <echartmarkers.h>

Public Member Functions

 EChartMarkers ()
 

Static Public Member Functions

static EChartMarkersConfigconfig ()
 Call this function to set and/or get the globel MarkersConfig object. More...
 
static void circle (QPainter *painter, QPoint point)
 
static void rhomb (QPainter *painter, QPoint point)
 
static void square (QPainter *painter, QPoint point)
 
static void triangleUp (QPainter *painter, QPoint point)
 
static void triangleLeft (QPainter *painter, QPoint point)
 
static void triangleBottom (QPainter *painter, QPoint point)
 
static void triangleRight (QPainter *painter, QPoint point)
 

Private Member Functions

uint size () const
 
int halfSize () const
 
void triangle (QPainter *painter, QPoint point, int angle)
 

Static Private Attributes

static QPointer
< EChartMarkersConfig
markersConfig = NULL
 The pointer to the config, used by Markers. More...
 

Detailed Description

Class with static functions to draw different markers.

Use config() to get an object to configure the appearance. The markers are drawn in the current color of the painter. Therefore change it before calling one of the static functions.

Constructor & Destructor Documentation

EChartMarkers::EChartMarkers ( )

+ Here is the call graph for this function:

Member Function Documentation

void EChartMarkers::circle ( QPainter *  painter,
QPoint  point 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

EChartMarkersConfig * EChartMarkers::config ( )
static

Call this function to set and/or get the globel MarkersConfig object.

+ Here is the caller graph for this function:

int EChartMarkers::halfSize ( ) const
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EChartMarkers::rhomb ( QPainter *  painter,
QPoint  point 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint EChartMarkers::size ( ) const
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EChartMarkers::square ( QPainter *  painter,
QPoint  point 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EChartMarkers::triangle ( QPainter *  painter,
QPoint  point,
int  angle 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EChartMarkers::triangleBottom ( QPainter *  painter,
QPoint  point 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EChartMarkers::triangleLeft ( QPainter *  painter,
QPoint  point 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EChartMarkers::triangleRight ( QPainter *  painter,
QPoint  point 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EChartMarkers::triangleUp ( QPainter *  painter,
QPoint  point 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

QPointer< EChartMarkersConfig > EChartMarkers::markersConfig = NULL
staticprivate

The pointer to the config, used by Markers.

If some of the static functions from Markers are called before Markers::config() is called, a default MarkersConfig is created.


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