Public Member Functions

KDChart::ReverseMapper Class Reference

The ReverseMapper stores information about objects on a chart and their respective model indexes. More...

#include <ReverseMapper.h>

Collaboration diagram for KDChart::ReverseMapper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addCircle (int row, int column, const QPointF &location, const QSizeF &diameter)
void addItem (ChartGraphicsItem *item)
void addLine (int row, int column, const QPointF &from, const QPointF &to)
void addPolygon (int row, int column, const QPolygonF &polygon)
void addRect (int row, int column, const QRectF &rect)
QRectF boundingRect (int row, int column) const
void clear ()
QModelIndexList indexesAt (const QPointF &point) const
QModelIndexList indexesIn (const QRect &rect) const
QPolygonF polygon (int row, int column) const
 ReverseMapper (AbstractDiagram *diagram)
 ReverseMapper ()
void setDiagram (AbstractDiagram *diagram)
 ~ReverseMapper ()

Detailed Description

The ReverseMapper stores information about objects on a chart and their respective model indexes.

Definition at line 42 of file ReverseMapper.h.


Constructor & Destructor Documentation

ReverseMapper::ReverseMapper (  ) 

Definition at line 38 of file ReverseMapper.cpp.

ReverseMapper::ReverseMapper ( AbstractDiagram diagram  )  [explicit]

Definition at line 44 of file ReverseMapper.cpp.

ReverseMapper::~ReverseMapper (  ) 

Definition at line 50 of file ReverseMapper.cpp.


Member Function Documentation

void ReverseMapper::addCircle ( int  row,
int  column,
const QPointF &  location,
const QSizeF &  diameter 
)

Definition at line 137 of file ReverseMapper.cpp.

References addPolygon().

Referenced by addLine().

void ReverseMapper::addItem ( ChartGraphicsItem item  ) 
void ReverseMapper::addLine ( int  row,
int  column,
const QPointF &  from,
const QPointF &  to 
)

Definition at line 145 of file ReverseMapper.cpp.

References addCircle(), and addPolygon().

void ReverseMapper::addPolygon ( int  row,
int  column,
const QPolygonF &  polygon 
)

Definition at line 130 of file ReverseMapper.cpp.

References addItem().

Referenced by addCircle(), addLine(), and addRect().

void ReverseMapper::addRect ( int  row,
int  column,
const QRectF &  rect 
)

Definition at line 125 of file ReverseMapper.cpp.

References addPolygon().

QRectF ReverseMapper::boundingRect ( int  row,
int  column 
) const

Definition at line 112 of file ReverseMapper.cpp.

void ReverseMapper::clear (  ) 

Definition at line 61 of file ReverseMapper.cpp.

QModelIndexList ReverseMapper::indexesAt ( const QPointF &  point  )  const
QModelIndexList ReverseMapper::indexesIn ( const QRect &  rect  )  const
QPolygonF ReverseMapper::polygon ( int  row,
int  column 
) const

Definition at line 106 of file ReverseMapper.cpp.

void ReverseMapper::setDiagram ( AbstractDiagram diagram  ) 

Definition at line 55 of file ReverseMapper.cpp.


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